You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am looking for typescript typings (.d.ts) for xjs.js.
Even though the lib is written in ts the project does not emit .d.ts typings, and I cannot use the .ts files as is because they are written for typescript 1.6
I am posting my temporary solution here so that other people can do the same and to show my interest in official typescript support.
Thank you for posting your temporary solution as this is definitely helpful for developers using typescript.
I'm afraid we can't readily move to higher typescript versions (which should have been way overdue) due to docgen reasons, which will definitely take a considerable amount of work.
That being said, development for version 3.0 is underway. :) This newer version, albeit, a breaking one, is more modern and uses the latest typescript. This should also be cleaner, and definitely more lightweight than the current one, so we're looking forward to its release.
Hi, I am looking for typescript typings (.d.ts) for xjs.js.
Even though the lib is written in ts the project does not emit .d.ts typings, and I cannot use the .ts files as is because they are written for typescript 1.6
I am posting my temporary solution here so that other people can do the same and to show my interest in official typescript support.
yarn add typescript
yarn tsc
/// reference
lines at the top (typescript knows those types from lib es2015)This is not a perfect solution and some typings will still throw errors,
that should be easily fixed by correcting the .d.ts
The text was updated successfully, but these errors were encountered: