style(compiler): reformat of codebase with new clang-format version (#36520)
This commit reformats the packages/compiler tree using the new version of clang-format. PR Close #36520
This commit is contained in:
@ -66,7 +66,7 @@ export class StyleCompiler {
|
||||
stylesheet.styleUrls.forEach((styleUrl) => {
|
||||
const exprIndex = styleExpressions.length;
|
||||
// Note: This placeholder will be filled later.
|
||||
styleExpressions.push(null !);
|
||||
styleExpressions.push(null!);
|
||||
dependencies.push(new StylesCompileDependency(
|
||||
getStylesVarName(null), styleUrl,
|
||||
(value) => styleExpressions[exprIndex] = outputCtx.importExpr(value)));
|
||||
@ -89,7 +89,7 @@ export class StyleCompiler {
|
||||
}
|
||||
}
|
||||
|
||||
function getStylesVarName(component: CompileDirectiveMetadata | null): string {
|
||||
function getStylesVarName(component: CompileDirectiveMetadata|null): string {
|
||||
let result = `styles`;
|
||||
if (component) {
|
||||
result += `_${identifierName(component.type)}`;
|
||||
|
Reference in New Issue
Block a user