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
When trying to call openAboutWindow in an app using TypeScript 2.9, I get this error:
TS2349: Cannot invoke an expression whose type lacks a call signature.
Type 'typeof import("/path/to/node_modules/about-window/src/index")'
has no compatible call signatures.
It seems like the TypeScript compiler is looking at index.ts instead of the type declarations in index.d.ts?
The text was updated successfully, but these errors were encountered:
I found some problem with TypeScript 2.9. Though the reported compilation error is different from yours. Could you update package version to v1.11.1 and try it?
When trying to call
openAboutWindow
in an app using TypeScript 2.9, I get this error:It seems like the TypeScript compiler is looking at
index.ts
instead of the type declarations inindex.d.ts
?The text was updated successfully, but these errors were encountered: