postcss / postcss-load-config

Autoload Config for PostCSS
MIT License
642 stars 72 forks source link

Update @types/post-load-config #210

Closed chang-ke closed 3 years ago

chang-ke commented 3 years ago

Now post-load-config depends on post-css@8.0 but @types/post-load-config depends on post-css@7.0,it's not compatible

ai commented 3 years ago

You need send PR to https://github.com/DefinitelyTyped/DefinitelyTyped/

Another option is to move types to post-load-config, but it should PR as well

chang-ke commented 3 years ago

You need send PR to https://github.com/DefinitelyTyped/DefinitelyTyped/

Another option is to move types to post-load-config, but it should PR as well

all right. can i use typescript to rewrite it?

ai commented 3 years ago

Nope. It will make maintenance more complicated (extra build step, etc).

Just add .d.ts file to current .js files.