Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Array types were converted incorrectly
- Loading branch information
Showing
6 changed files
with
119 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
export type BigIntLiteral = 1n; | ||
export type NegativeBigIntLiteral = -1n; | ||
|
||
declare function makeValue<T>(): T; | ||
|
||
export type BigIntLiteral = 1n; | ||
export const BigIntLiteralType = makeValue<1n>(); | ||
|
||
export type NegativeBigIntLiteral = -1n; | ||
export const NegativeBigIntLiteralType = makeValue<-1n>(); | ||
|
||
export type NumArray = number[]; | ||
export const numArray = makeValue<number[]>(); |
Oops, something went wrong.