-
-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use native bigint type instead of BigInt object type
- Loading branch information
1 parent
4361ca6
commit 4cfa6ec
Showing
4 changed files
with
8 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { PropModification } from "../../helpers/prop-modification"; | ||
|
||
export function add(value: number | BigInt | Array<string | number>) { | ||
export function add(value: number | bigint | Array<string | number>) { | ||
return new PropModification({add: value}); | ||
} |
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,5 +1,5 @@ | ||
import { PropModification } from "../../helpers/prop-modification"; | ||
|
||
export function remove(value: number | BigInt | Array<string | number>) { | ||
export function remove(value: number | bigint | Array<string | number>) { | ||
return new PropModification({remove: value}); | ||
} |
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