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
running tsc index.ts --declaration currently throws an error
> tsc index.ts --declaration
index.ts:25:10 - error TS4052: Return type of public static method from exported class has or is using private name 'BaseWithPlugins'.
25 static plugin<T extends TestPlugin | TestPlugin[]>(plugin: T) {
~~~~~~
I'm not sure how to fix that problem yet, help much appreciated!
The text was updated successfully, but these errors were encountered:
I've opened a request to fix issues like these in TypeScript by bringing declaration files to parity with language features. microsoft/TypeScript#35822
running
tsc index.ts --declaration
currently throws an errorI'm not sure how to fix that problem yet, help much appreciated!
The text was updated successfully, but these errors were encountered: