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
This plugin, when imported from a .ts file, throws types error because it doesn't declare any types.
I think it would be a good enhancement to declare at single a single types.d.ts in the package to export types, without converting the whole source code to Typescript.
This way, Typescript users can seamlessly import the package without having to declare themselves the types :)
This plugin, when imported from a
.ts
file, throws types error because it doesn't declare any types.I think it would be a good enhancement to declare at single a single
types.d.ts
in the package to export types, without converting the whole source code to Typescript.This way, Typescript users can seamlessly import the package without having to declare themselves the types :)
You can even export declaration types from
.js
files! https://www.typescriptlang.org/docs/handbook/declaration-files/dts-from-js.htmlThe text was updated successfully, but these errors were encountered: