Skip to content
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

Create TypeScript definitions (.d.ts) #12

Open
boenrobot opened this issue May 22, 2019 · 0 comments
Open

Create TypeScript definitions (.d.ts) #12

boenrobot opened this issue May 22, 2019 · 0 comments

Comments

@boenrobot
Copy link

Webpack configuration can be written in TypeScript as well (see this page).

However, using this plugin with a TypeScript webpack configuration when TypeScript is set to strict mode and not allowing JS is not possible, since there are no TypeScript definitions of it. Not in the package itself, and not in DefinetlyTyped either.

Creating a .d.ts file with all exported types should remedy this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant