wilsonpage/fastdom

[Feature Request] fastdom TypeScript definitions

Closed this issue · 3 comments

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?

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

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

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