opral / inlang-paraglide-js

Tree-shakable i18n library build on the inlang ecosystem.
https://inlang.com/m/gerre34r/library-inlang-paraglideJs
23 stars 0 forks source link

Make output work with "noUnusedParameters" #84

Open LorisSigrist opened 2 months ago

LorisSigrist commented 2 months ago

Users reported that if "noUnusedParameters" is set to true in tsconfig.json the paraglide output fails type-checking.

The workaround is to exclude the paraglide output in tsconfig. You might also have to turn off checkJs, which is odd but that't TS 🤷.

Proposal

Adjust the compiler output to work with all the strictest tsconfig settings.