mirror of
https://github.com/angular/angular.git
synced 2026-11-30 10:27:51 -05:00
Migrate formatting to prettier for core/primitives from clang-format PR Close #55387
16 lines
390 B
TypeScript
16 lines
390 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.io/license
|
|
*/
|
|
|
|
export const safeElement = {
|
|
async setInnerHtml(element: Element, content: string) {
|
|
element.innerHTML = content;
|
|
},
|
|
};
|
|
|
|
export const testonlyHtml = (content: string) => content;
|