csstools / postcss-normalize

Use the parts of normalize.css (or sanitize.css) you need from your browserslist
Creative Commons Zero v1.0 Universal
816 stars 40 forks source link

Support TS `moduleResolution: "node16"` #66

Open antitoxic opened 7 months ago

antitoxic commented 7 months ago

First issue fixed

"moduleResolution": "node16" in TS will cause:

TS7016: Could not find a declaration file for module postcss-normalize. `postcss-normalize/index.mjs` implicitly has an any type.

There are types at `postcss-normalize/index.d.ts`, but this result could not be resolved when respecting package.json exports. The postcss-normalize library may need to update its package.json or typings.

Second issue fixed:

refs:

PS/FYI: npm run test tape was failing even before my changes so i had to commit with --no-verify.