I am trying to follow instructions from README.dev.md, but after running pnpm --filter=webidl-to-ts build, I get the error:
src/codegen.ts:994:13 - error TS2345: Argument of type 'NodeArray<ModifierLike>' is not assignable to parameter of type 'readonly Modifier[]'.
The types returned by 'concat(...)' are incompatible between these types.
Type 'ModifierLike[]' is not assignable to type 'Modifier[]'.
Type 'ModifierLike' is not assignable to type 'Modifier'.
Type 'Decorator' is not assignable to type 'Modifier'.
Type 'Decorator' is not assignable to type 'StaticKeyword'.
Types of property 'kind' are incompatible.
Type 'SyntaxKind.Decorator' is not assignable to type 'SyntaxKind.StaticKeyword'.
994 node.modifiers,
Same, as a C++ emscripten user this error is totally unintelligible to me. It seems like has to do with the webidl library? Like we need a specific version of it?
I am trying to follow instructions from README.dev.md, but after running
pnpm --filter=webidl-to-ts build
, I get the error: