The plain string assignment to script.src in loader.ts causes a Trusted
Types violation, blocking Trusted Types adoption by applications that
use the google-chart library. To fix the violation, a Trusted Types
policy is used to promote the constant string to a TrustedScriptURL
before use.
The plain string assignment to script.src in loader.ts causes a Trusted Types violation, blocking Trusted Types adoption by applications that use the google-chart library. To fix the violation, a Trusted Types policy is used to promote the constant string to a TrustedScriptURL before use.