-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tdl-install-types: Update the generator
Added $FunctionResultByName, $FunctionInputByName special object types that are now used in Invoke and Execute instead of chains of extends + conditional types (should be faster to typecheck, also less repetitive, and can be used in flow). Also added $FunctionName and $SyncFunctionName that are used in "extends" in the type parameters of Invoke and Execute respectively.
- Loading branch information
Showing
7 changed files
with
5,016 additions
and
3,815 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 |
---|---|---|
|
@@ -49,7 +49,10 @@ | |
generated files. | ||
- No longer generates `null` for return types of `Execute`. | ||
- Functions not marked as synchronous are no longer generated in `Execute`. | ||
- Added `$Function`. | ||
- Added some special types: `$Function`, `$FunctionResultByName`, | ||
`$FunctionInputByName`, `$FunctionName`, `$SyncFunctionName`. `Invoke` and | ||
`Execute` are implemented in terms of these types and may be somewhat faster | ||
now (in typecheck time). | ||
|
||
## [email protected] (2024-02-16) | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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.