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
Argument names are lost and replaced with arg0, arg1.
It is important for the latter file to contain useful function signatures, because that's the definition file that will be used by TypeScript when importing the wrapper module without_a_bundler.js.
The text was updated successfully, but these errors were encountered:
To reproduce:
These commands are from build.sh, except I was running them on Windows.
pkg/*.d.ts
files.Expected
These files to contain meaningful function signatures like
function add(a: number, b: number): number
.Actual
The file
pkg/without_a_bundler_bg.d.ts
is as expected.The file
pkg/without_a_bundler.d.ts
, however, contains the following:Argument names are lost and replaced with
arg0
,arg1
.It is important for the latter file to contain useful function signatures, because that's the definition file that will be used by TypeScript when importing the wrapper module
without_a_bundler.js
.The text was updated successfully, but these errors were encountered: