-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the
any
type to bind to security sensitive properties (#276)
* Remove a `.only` call in the 'security-system' rule tests. * Remove incorrect `</script>` closing tags. * Allow the `any` type to bind to security sensitive properties Note that this is not security sensitive code. The actual security boundary is at runtime. This is just the type checker assisting the developer, predicting what the runtime enforcement will allow/reject. Allowing `any` here aligns with TypeScript's general type checking principles, where you're allowed to do just about anything you want with an `any` typed value. Co-authored-by: Peter Burns <rictic@google.com> * Fix `const` redeclarations in tests. Co-authored-by: Peter Burns <rictic@google.com>
- Loading branch information
Showing
4 changed files
with
79 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.