NullVoxPopuli
NullVoxPopuli
@Windvis what are repro instructions with that stackblitz?
if we require a class for managing the `this`, then we can do this is a non-breaking opt-in change. Existing testing keeps using module/test/etc, but those using the class could...
This isn't done :p
If I change my root tsconfig.json to this: ``` { "glint": { "environment": ["ember-loose", "ember-template-imports"] }, "references": [ { "path": "./config/tsconfig.src.json" }, { "path": "./config/tsconfig.tests.json" }, { "path": "./config/tsconfig.docs-app.json" },...
oh actually -- this is possible now -- I just need to document it. if you do: ```ts import '@glint/template'; declare global { interface GlintHtmlElementAttributesMap { 'your-custom-element': { ['my-prop']: number;...
actually, it does look like there is a bug -- I have a failing test in #1016 with the above declaration merge -- and I would expect that when throwing...
Fix is here https://github.com/typed-ember/glint/pull/1016 -- just one failing bit left Also adds docs for how to add the custom elements (WIP)
Locally, do things start working if you just patch out: ```js assert( ts.isNoSubstitutionTemplateLiteral(node.template), 'No interpolated values in template strings', ); ``` ?
Seems fixed now -- closing
We generate SVG types from - https://www.npmjs.com/package/svg-element-attributes - https://www.npmjs.com/package/svg-event-attributes Neither has xlink 🤔 There is an existing issue about xmlns prefixes and mentions xlink here: - https://github.com/wooorm/svg-element-attributes/issues/2 That said, if...