style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975)
PR Close #22975
This commit is contained in:

committed by
Matias Niemelä

parent
f739f756ce
commit
de90314304
@ -249,7 +249,7 @@ export class StaticSymbolResolver {
|
||||
}
|
||||
|
||||
/**
|
||||
* hasDecorators checks a file's metadata for the presense of decorators without evalutating the
|
||||
* hasDecorators checks a file's metadata for the presence of decorators without evaluating the
|
||||
* metadata.
|
||||
*
|
||||
* @param filePath the absolute path to examine for decorators.
|
||||
|
@ -11,7 +11,7 @@
|
||||
* particular offset in a source file. The head of the list is the top
|
||||
* most node. The tail is the node that contains the offset directly.
|
||||
*
|
||||
* For example, the expresion `a + b + c` might have an ast that looks
|
||||
* For example, the expression `a + b + c` might have an ast that looks
|
||||
* like:
|
||||
* +
|
||||
* / \
|
||||
|
@ -162,11 +162,11 @@ export class DirectiveNormalizer {
|
||||
stylesheets: Map<string, CompileStylesheetMetadata>): CompileTemplateMetadata {
|
||||
// Algorithm:
|
||||
// - produce exactly 1 entry per original styleUrl in
|
||||
// CompileTemplateMetadata.externalStylesheets whith all styles inlined
|
||||
// CompileTemplateMetadata.externalStylesheets with all styles inlined
|
||||
// - inline all styles that are referenced by the template into CompileTemplateMetadata.styles.
|
||||
// Reason: be able to determine how many stylesheets there are even without loading
|
||||
// the template nor the stylesheets, so we can create a stub for TypeScript always synchronously
|
||||
// (as resouce loading may be async)
|
||||
// (as resource loading may be async)
|
||||
|
||||
const styles = [...preparsedTemplate.styles];
|
||||
this._inlineStyles(preparsedTemplate.inlineStyleUrls, stylesheets, styles);
|
||||
|
@ -670,7 +670,7 @@ export class _ParseAST {
|
||||
}
|
||||
|
||||
/**
|
||||
* An identifier, a keyword, a string with an optional `-` inbetween.
|
||||
* An identifier, a keyword, a string with an optional `-` between.
|
||||
*/
|
||||
expectTemplateBindingKey(): string {
|
||||
let result = '';
|
||||
|
Reference in New Issue
Block a user