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
[!] (plugin dts) Error: Could not load ./packages/lib-draw/build/utils/TypedEventEmitter.d.ts (imported by ./packages/lib-draw/build/Client.d.ts): Syntax not yet supported
1 | import { EventEmitter } from 'events';
> 2 | declare type Constructor<T = any, As extends [...any[]] = [...any[]], St = {}> = {
| ^^^^^^^^
3 | new (...args: As): T;
4 | } & Pick<St, keyof St>;
5 | declare type Arguments<T> = T extends (...args: any) => any ? Parameters<T> : T extends new (...args: any) => any ? ConstructorParameters<T> : any[];
Error: Could not load ./packages/lib-draw/build/utils/TypedEventEmitter.d.ts (imported by ./packages/lib-draw/build/Client.d.ts): Syntax not yet supported
1 | import { EventEmitter } from 'events';
> 2 | declare type Constructor<T = any, As extends [...any[]] = [...any[]], St = {}> = {
| ^^^^^^^^
3 | new (...args: As): T;
4 | } & Pick<St, keyof St>;
5 | declare type Arguments<T> = T extends (...args: any) => any ? Parameters<T> : T extends new (...args: any) => any ? ConstructorParameters<T> : any[];
at DeclarationScope.convertTypeNode (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:700:19)
at DeclarationScope.convertTypeNode (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:646:22)
at DeclarationScope.convertTypeParameters (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:617:18)
at Transformer.convertTypeAliasDeclaration (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:988:37)
at Transformer.convertStatement (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:914:25)
at new Transformer (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:849:18)
at transformFile (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1115:29)
at Object.load (./node_modules/.registry.npmjs.org/rollup-plugin-dts/1.1.8_rollup@1.22.0+typescript@3.6.3/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1146:33)
at Promise.resolve.then (./node_modules/.registry.npmjs.org/rollup/1.22.0/node_modules/rollup/dist/rollup.js:16616:25)
The text was updated successfully, but these errors were encountered:
HI! Thanks for the module.
But it's still does not supports spread in tuple type am I right? microsoft/TypeScript#24897
roolup-plugin-dts: 1.1.8
typescript: 3.6.3
pnpm: 3.8.1
Error message:
The text was updated successfully, but these errors were encountered: