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
D:\webidl-typer\node_modules\webidl2\lib\webidl2.js:142
throw new WebIDLParseError(message, line, tok, tokens.slice(0, maxTokens));
^
Got an error during or right after parsing `interface btTransform`: Unterminated operation, line 82 (tokens: 'float[] m')
So I tested
interface test {
void test(float a[]);
};
and the same error came out.
According to this commit and also this one, [] seems deprecated in the latest webidl syntax.
From my understanding, just removing [] to make float[]sequence<float> is the right adjustment.
The text was updated successfully, but these errors were encountered:
I'm trying to generate typescript definition d.ts from ammo.idl using webidl2.
But it gave me an error
So I tested
and the same error came out.
According to this commit and also this one,
[]
seems deprecated in the latest webidl syntax.From my understanding, just removing
[]
to makefloat[]
sequence<float>
is the right adjustment.The text was updated successfully, but these errors were encountered: