Typescript / Types
See original GitHub issueI’d like to know what your plans for typescript is? I’ve seen a twitter post somewhere that you were looking for a conversion tool for JSDoc to TS.
I’ve started creating some types for logux in my app. But it would make more sense if those types ended up in your repository directly so others can benefit, too.
Do you plan to migrate to TS?
Or do you plan to just add .d.ts
-files?
I could help with both types and typescript conversion. The important thing is that the types will be kept in sync with the JS if only .d.ts
-files will be added.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Handbook - Basic Types - TypeScript
Basic Types · Boolean · Number · String · Array · Tuple · Enum · Unknown · Any.
Read more >Documentation - Everyday Types - TypeScript
JavaScript has three very commonly used primitives: string , number , and boolean . Each has a corresponding type in TypeScript. As you...
Read more >Documentation - Advanced Types - TypeScript
TypeScript has two special types, null and undefined , that have the values null and undefined respectively. We mentioned these briefly in the...
Read more >Documentation - Object Types - TypeScript
In JavaScript, the fundamental way that we group and pass around data is through objects. In TypeScript, we represent those through object types....
Read more >Documentation - Creating Types from Types - TypeScript
An overview of the ways in which you can create more types from existing types. ... TypeScript's type system is very powerful because...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Logux got types. I am planning to release it today.
We need a way to use Logux directly from GitHub like
"@logux/core": "logux/core"
(without need to call sometime after install). It is useful to test fixes on production.What if we will use approach from my Storeon? We could have separated
.d.ts
file and run TS on CI to check that current code (and tests) with this types to check that types are accurate.The question is how to use TS types in Documentation.js.