Closed oscarotero closed 3 weeks ago
any
enable jsx_preact and inline. The preact types doesn't include the inline attribute types so it shows a warning in vscode.
inline
always
do not fail
A solution:
// types.d.ts declare global { namespace preact.JSX { interface HTMLAttributes { inline?: boolean | undefined; } } }
Version
any
Platform
any
What steps will reproduce the bug?
enable jsx_preact and inline. The preact types doesn't include the
inline
attribute types so it shows a warning in vscode.How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
do not fail
What do you see instead?
Additional information
A solution: