I have src/env.d.ts file in my project where I have the following code:
declare namespace astroHTML.JSX {
interface HTMLAttributes {
'data-box'?: string
}
}
However when I try to use the attribute I do not see it in the autocomplete list in VScode. I have tried to reload the window but that made no difference. The usual suggestions for other attributes work as per usual so based on that TypeScript is working.
Is there something that I might be missing?