git clone https://github.com/lgarron/trusted-types-playground && cd trusted-types-playground
npm install
npx parcel src/index.html
# Open https://localhost:1234
brew install caddy # depending on your OS
make csp
# Open https://localhost:8000
- DOM lib: Add support for Trusted Types API (TypeScript-DOM-lib-generator#1246) by
tosmolka
- [react] Allow
TrustedHTML
indangerouslySetInnerHTML
(DefinitelyTyped#60691) byeps1lon
- [trusted-types] Properly augment global to prevent conflicts with lib.dom.d.ts et al. (DefinitelyTyped#61160) by
eps1lon
- [react] Support anything with toString() (such as TrustedHTML) as input for dangerouslySetInnerHTML. (DefinitelyTyped#60417) by
lgarron
- Was originally:
[react] Support TrustedHTML as input for dangerouslySetInnerHTML.
- Was originally: