esbuild-plugin-alias icon indicating copy to clipboard operation
esbuild-plugin-alias copied to clipboard

Unable to find TypeScript call signature

Open doberkofler opened this issue 2 years ago • 0 comments

Although the packages does seem to contain an index.d.ts file, when using the plugin typescript complains with an message:

const esbuildAliasPlugin = require('esbuild-plugin-alias');
esbuildAliasPlugin();
This expression is not callable.
  Type 'typeof import("esbuild-plugin-alias")' has no call signatures.

doberkofler avatar Apr 19 '22 13:04 doberkofler