You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered some typescript check problem when I'm using strict mode in tsconfig. It seems that tsc is reporting strict check errors on .ts files published in npm package such as noImplicitAny. I initially though it's a configuration problem around skipLibCheck but eventually I found this issue which suggests that publish .ts file directly is not good in practice, and skipLibCheck explicitly escape .ts files inside libs for that reason.
The text was updated successfully, but these errors were encountered:
I see I thought resolved this but it might be because one of the type declaration files is still inside the src folder. Specfically dom.d.ts. I've moved it out and I'll test if it resolves it.
It'd be awesome if you could try manually moving dom.d.ts in your node_modules/@vidstack/foundation folder from src to package root, updating the sibling globals.d.ts file to point to it, and letting me know if it fixes your issues.
I've encountered some typescript check problem when I'm using strict mode in tsconfig. It seems that tsc is reporting strict check errors on
.ts
files published in npm package such asnoImplicitAny
. I initially though it's a configuration problem aroundskipLibCheck
but eventually I found this issue which suggests that publish.ts
file directly is not good in practice, andskipLibCheck
explicitly escape.ts
files inside libs for that reason.The text was updated successfully, but these errors were encountered: