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
After installing the recent version, that fixes PNG problems, I have encounter these errors:
ERROR in node_modules/pdf-lib/cjs/core/streams/Stream.d.ts:20:9 - error TS1086: An accessor cannot be declared in an ambient context.
get isEmpty(): number;
node_modules/pdf-lib/cjs/core/streams/Stream.d.ts:20:9 - error TS1086: An accessor cannot be declared in an ambient context.
get isEmpty(): boolean;
The text was updated successfully, but these errors were encountered:
Version 1.4.0 is now published. It contains additional TypeScript declarations for older version of TypeScript that should resolve this issue. The full release notes are available here.
After installing the recent version, that fixes PNG problems, I have encounter these errors:
ERROR in node_modules/pdf-lib/cjs/core/streams/Stream.d.ts:20:9 - error TS1086: An accessor cannot be declared in an ambient context.
get isEmpty(): number;
node_modules/pdf-lib/cjs/core/streams/Stream.d.ts:20:9 - error TS1086: An accessor cannot be declared in an ambient context.
get isEmpty(): boolean;
The text was updated successfully, but these errors were encountered: