wilsonpage / fastdom

Eliminates layout thrashing by batching DOM measurement and mutation tasks
6.86k stars 239 forks source link

[Feature Request] fastdom TypeScript definitions #104

Closed oppianmatt closed 6 years ago

oppianmatt commented 7 years ago

Well not really a feature but would be nice to have TypeScript definitions for those who use TypeScript to generate their Javascript.

https://github.com/DefinitelyTyped/DefinitelyTyped

Couldn't find one for fastdom. Does one exist?

wilsonpage commented 7 years ago

I don't know anything about TypeScript or what is required to create a 'definition'. Happy to accept a PR though :)

oppianmatt commented 7 years ago

Yep will do once I figure out how to. Unless someone else beats me to it...

cdalexndr commented 5 years ago

Typescript definitions should be published to npm as @types/fastdom More info: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html