-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(client): Convert clients to Typescript (#744)
* refactor(client): Move isConnected field to base Transport class * refactor(client): Protect fields in base Transport class * refactor(client): Add game and gameKey to base Transport options The client passes these to the transport when instantiating it, so they should be included. * refactor(client): Convert plain JS client to TS Adds a layer of indirection between the client and the debug panel import to allow import of Svelte module. * refactor(client): Convert React client to TS * refactor(client): Enforce correct type of client.getState return * refactor(client): Make `impl` optional in client’s debug options * test(client): Convert client test suite to TS * test(client): Convert React SSR test to TS * refactor(client): Expose BoardProps type to users Co-authored-by: Nicolo John Davis <nicolodavis@gmail.com>
- Loading branch information
1 parent
a6698e6
commit 31cb443
Showing
13 changed files
with
273 additions
and
77 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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.