-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3850 - call a method on the argument
- Loading branch information
1 parent
eabcdde
commit 9763039
Showing
4 changed files
with
1,813 additions
and
1,818 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 +1,18 @@ | ||
declare const __DEV__: boolean | ||
|
||
// This code is a copy from TS PR#57230 | ||
// Should be removed after it merged | ||
interface ReadonlySetLike<T> { | ||
/** | ||
* Despite its name, returns an iterable of the values in the set-like. | ||
*/ | ||
keys(): Iterable<T> | ||
/** | ||
* @returns a boolean indicating whether an element with the specified value exists in the set-like or not. | ||
*/ | ||
has(value: T): boolean | ||
/** | ||
* @returns the number of (unique) elements in the set-like. | ||
*/ | ||
readonly size: number | ||
} |
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
Oops, something went wrong.