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:
Alex Rickabaugh
2020-04-08 10:14:18 -07:00
committed by atscott
parent 0a69a2832b
commit 83a9159063
193 changed files with 5904 additions and 4574 deletions

View File

@ -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)}`;