Skip to content

Commit

Permalink
Avoid using number literal that will lose precision at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Dec 27, 2023
1 parent 22b19db commit d598cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/_fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const STRINGS: string[] = [

// prettier-ignore
export const NUMBERS: number[] = [
-317.827682288236872383242082309328432093279,
-317.827682288236872,
-1,
-0,
0,
Expand Down

0 comments on commit d598cd1

Please sign in to comment.