Skip to content

Conversation

@bjarkler
Copy link
Owner

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

* policy.
*/
function getTrustedTypesPolicyForDev(): TrustedTypePolicy|null {
if (ngDevMode) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix this

abstract sanitize(ctx: SecurityContext.SCRIPT, value: {}|string|null): string|TrustedScript|null;
abstract sanitize(ctx: SecurityContext.RESOURCE_URL, value: {}|string|null): string
|TrustedScriptURL|null;
abstract sanitize(ctx: SecurityContext, value: {}|string|null): string|null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add all trusted types as a return

@bjarkler bjarkler force-pushed the trusted-types branch 2 times, most recently from 55fa6a9 to 6f83459 Compare September 30, 2020 00:59
@bjarkler bjarkler force-pushed the tagged-templates branch 4 times, most recently from 1a3b684 to 21184cd Compare October 8, 2020 17:08
@bjarkler bjarkler force-pushed the tagged-templates branch 3 times, most recently from a5c457f to 5a49982 Compare November 30, 2020 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants