I'm not sure if this is a @webref/idl issue or a trusted types issue but it's an issue for making trusted types work through TypeScript. So I'm starting with reporting it here.
The IDL for HTML in @webref/idl serves as the basis for generating the TypeScript type definitions for web APIs that are used by a lot of developers. I noticed that many of the trusted types APIs are showing up properly there but not HTMLScriptElement#src: https://github.com/w3c/webref/blob/f19b3f5b22dae2b0c91f5209aa351cccce2008a8/ed/idl/html.idl#L1247
*#innerHTML appears to reflect trusted type spec additions in the same file: https://github.com/w3c/webref/blob/f19b3f5b22dae2b0c91f5209aa351cccce2008a8/ed/idl/html.idl#L2358
I'm not sure what the best way to troubleshoot further is.
I'm not sure if this is a
@webref/idlissue or a trusted types issue but it's an issue for making trusted types work through TypeScript. So I'm starting with reporting it here.The IDL for HTML in
@webref/idlserves as the basis for generating the TypeScript type definitions for web APIs that are used by a lot of developers. I noticed that many of the trusted types APIs are showing up properly there but notHTMLScriptElement#src: https://github.com/w3c/webref/blob/f19b3f5b22dae2b0c91f5209aa351cccce2008a8/ed/idl/html.idl#L1247*#innerHTMLappears to reflect trusted type spec additions in the same file: https://github.com/w3c/webref/blob/f19b3f5b22dae2b0c91f5209aa351cccce2008a8/ed/idl/html.idl#L2358I'm not sure what the best way to troubleshoot further is.