typescript type defs
See original GitHub issueThis seems to be a pretty efficient and amazing library.
Unfortunately I have been unable to successfully use it in my application with Vue.js using Typescript.
The library lacks type declarations, and in general lacks the ability to be imported (e.g. with an ES6 import, import uPlot from 'uplot';
) and used programmatically to render a chart.
Are there plans to create type declarations for the library? Without them, the library is more or less unusable in any modern JS framework.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Documentation - Type Declarations - TypeScript
Built-in Type Definitions ... TypeScript includes declaration files for all of the standardized built-in APIs available in JavaScript runtimes. This includes ...
Read more >Surviving the TypeScript Ecosystem — Part 4 - Medium
The solution is to make a type definition file. A type definition file is a file that ends in “.d.ts”. It is a...
Read more >TypeScript: Type Definition Files - DEV Community
The purpose of type definition files is to describe all the functions, properties, and values of the modules. By installing them, we help ......
Read more >Using type definitions (TypeScript tutorial, #9) - YouTube
Use existing JavaScript frameworks like jQuery in your TypeScript projects. Type definitions bring great autocomplete to libraries and ...
Read more >The repository for high quality TypeScript type definitions.
The repository for high quality TypeScript type definitions. - GitHub - DefinitelyTyped/DefinitelyTyped: The repository for high quality TypeScript type ...
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
alright, folks. here it is!
https://github.com/leeoniya/uPlot/blob/master/dist/uPlot.esm.d.ts
improvements and/or corrections are welcome.
I added some initial types in a PR I created #153