attribute_builders.d.ts 576 B

123456789101112131415
  1. /**
  2. * @license
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. import '../environment/dev';
  6. import { SafeAttributePrefix } from '../internals/attribute_impl';
  7. /**
  8. * Creates a SafeAttributePrefix object from a template literal with no
  9. * interpolations for attributes that share a common prefix guaranteed to be not
  10. * security sensitive.
  11. *
  12. * The template literal is a prefix that makes it obvious this attribute is not
  13. * security sensitive. If it doesn't, this function will throw.
  14. */
  15. export declare function safeAttrPrefix(templ: TemplateStringsArray): SafeAttributePrefix;