Skip to content

Commit

Permalink
refactor: use lowercase name for reserved types
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Oct 14, 2024
1 parent 0981070 commit 590d3a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ export function Type<Value>(typeName: string): Type<Value> {
}

export namespace Type {
export const Any: Type<any> = Type('Any')
export const Null: Type<null> = Type('Null')
export const Undefined: Type<undefined> = Type('Undefined')
export const Any: Type<any> = Type('any')
export const Null: Type<null> = Type('null')
export const Undefined: Type<undefined> = Type('undefined')
}

// @internal
Expand Down

0 comments on commit 590d3a0

Please sign in to comment.