Skip to content

Add index.d.ts #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
guillaumegarcia13 opened this issue Mar 15, 2021 · 1 comment
Closed

Add index.d.ts #2

guillaumegarcia13 opened this issue Mar 15, 2021 · 1 comment
Labels
☂️ area/types This affects typings good first issue 👋 This may be a great place to get started! help wanted 🙏 This could use your insight or help

Comments

@guillaumegarcia13
Copy link
Contributor

Subject of the feature

As for the other unist-util-*, please consider adding index.d.ts

@guillaumegarcia13 guillaumegarcia13 added 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Mar 15, 2021
@ChristianMurphy
Copy link
Member

We are in the process of adding types, you can see some examples of types being added in
syntax-tree/xast-util-sitemap#1, syntax-tree/hast-util-sanitize#21, and syntax-tree/mdast-util-to-string#5
Note that for types as a dts file, using DTSLint and/or type coverage is highly recommended.

More recently there has been a push to get types generated from JSDoc
wooorm/zwitch@88b233d and wooorm/zwitch#6

Either works, and a PR would be welcome!


Closing this issue as we don't want to keep a types tracker issue in each of the 300+ unified repos.

@ChristianMurphy ChristianMurphy added good first issue 👋 This may be a great place to get started! help wanted 🙏 This could use your insight or help ☂️ area/types This affects typings and removed 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☂️ area/types This affects typings good first issue 👋 This may be a great place to get started! help wanted 🙏 This could use your insight or help
Development

No branches or pull requests

2 participants