@angular/build
Version:
Official build system for Angular
13 lines (12 loc) • 415 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
/**
* Finds the `ngCspNonce` value and copies it to all inline `<style>` and `<script> `tags.
* @param html Markup that should be processed.
*/
export declare function addNonce(html: string): Promise<string>;