-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Client now supports optional "OverrideModule" type parameter to suppo…
…rt partial modules This is useful when part of a module is available client-side and a call can be made synchronously. Now, type definitions can optionally reflect when that module is available and avoid wrapping the return result in a Promise. The default remains the same, and the Module type parameter goes through transformations to reflect the transport of function data from a remote location (wrapping it in a Promise and adding support for HTML forms). Currently, the client needs this type parameter passed explicitly (passing partial module to `.module` option alone isn't enough but I'm unsure how to work around that).
- Loading branch information
Showing
3 changed files
with
65 additions
and
28 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
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