Lightning Web Security Trusted Policy
This package is meant to be small.
Signing Example:
import { trusted } from '@locker/trusted-types'
script.src = trusted.createScriptURL('...');
Create a policy using createPolicy
utility.
import { createPolicy } from '@locker/trusted-types'