-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🗑️ Deprecate non-function invocations of
call()
There were too many overloads of call that ended up throwing off the typings. Specifically, there were difficulties in disambiguating between: `() => T` as a callable and `() => Promise<T>`, because `T` could be `Promise<T>`. This deprecates every other call() aside from async functions and operation functions (generator functions).
- Loading branch information
Showing
2 changed files
with
31 additions
and
20 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