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
I have an external library which is written in TypeScript. TS compiler generates .d.ts and .js files. and the entry is index.js.
When using this library, the intellisense suggests me not only public properties and methods but also private. I think vetur does not regard private in .d.ts.
Info
Problem
I have an external library which is written in TypeScript. TS compiler generates
.d.ts
and.js
files. and the entry isindex.js
.When using this library, the intellisense suggests me not only public properties and methods but also private. I think vetur does not regard
private
in.d.ts
.Reproducible Case
I wrote a
example.ts
:example.js
, which is generated by TypeScript compiler:example.d.ts
, which is generated by TypeScript compiler:Note that
doPrivately
method is marked as a private property.Finally, I import this module in a vue component:
If I go to definition, VS Code opens
example.d.ts
.The text was updated successfully, but these errors were encountered: