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
johannes-lindgren
changed the title
Distribute .d.ts files instead of the src folderimmer-yjs can't be used by applications that uses the noUncheckedIndexedAccess TS compiler option
Jun 14, 2024
johannes-lindgren
changed the title
immer-yjs can't be used by applications that uses the noUncheckedIndexedAccess TS compiler option
Library can't be used by applications that uses the noUncheckedIndexedAccess TS compiler option
Jun 14, 2024
immer-yjs
can't be used in application that usesnoUncheckedIndexedAccess: true
.The library distributes type declaration files (
.d.ts
) that imports.ts
files from thesrc/
directory:dist/immer-yjs.es.d.ts
/dist/immer-yjs.umd.d.ts
:Even if you have
"skipLibCheck": true
, TypeScript will still check the types withinnode_modules
.When you set
noUncheckedIndexedAccess: true
, you get a type error insrc/immer-yjs.ts
on line77
:The text was updated successfully, but these errors were encountered: