Open berekuk opened 1 year ago
I guess, alternatively, we could try to provide a .d.ts
file for generated code, or exclude it from strict typescript checks somehow, and use context: any
for squiggle.ts code.
I'd prefer to have "noImplicitAny": true
in the entire components repo and sacrifice the type safety in languageSupport, if that's easier for now.
Context:
{foo: "bar"}[0]
is any)exports.types
field, second, even after I tried to patchnode_modules/@lezer/*/package.json
by hand and set explicitcontext: any
in squiggle.ts, it didn't work (because generated code is problematic too)@cab404 this might require PRs to upstream to fix. I couldn't find any issues in https://github.com/lezer-parser/lezer.