Comments (2)
Converting functions to return primitive objects, through Driver<Controller>
, has implemented. You can enjoy the benefit since the v0.2.1 patch. From now on, the Driver<Feature>
type, you can see from the above example code, can be come true.
However, I think that the mission has not been completed yet. To avoid domain error of TypeScript compiler, I'd to implement the primitive converter to adapt detour method allowing vulnerable and duplicated code. In such reason, I've published an issue on the TypeScript repository and this issue would be closed after the issue has been resolved.
from tgrid.
TypeScript says it's the regular spec. Therefore, I consider that this issue has been fixed.
from tgrid.
Related Issues (20)
- Generate d.ts files for faye-websocket HOT 1
- Compile error on Driver after upgrading the TypeScript to v3.9.2 HOT 1
- Headers info when connecting to a web-socket server
- Enhance WebConnector.connect() method through Latch
- Add headers in every connection method
- Strict Generic Definition
- WorkerServer.getHeaders(): Promise<Headers>
- Refactor communicator classes to use abstract connector and acceptor
- Refactor connector classes to assign header in the constructor level.
- Refactor API Docs
- Support default import statement
- WebServer.close() waits all clients to be disconnected.
- Test whether all of the features are exported without any omission
- Change all the let symbols to be const if possible
- Move internal types of Driver to independent typings module
- Connector.connect() with detailed options through the object type
- Update for the [email protected]
- `Worker` to support both `thread` and `process` mode
- Import NodeJS only module wrapper for browser
- ESLint and Prettier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgrid.