Skip to content

Commit 6f56202

Browse files
RonGamzualxhub
authored andcommitted
docs: fix typos in source code comments
1 parent 48b4625 commit 6f56202

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function extractParams(
168168
}
169169

170170
/**
171-
* Find the the interface usually suffixed with "Decorator" that describes the decorator.
171+
* Find the interface usually suffixed with "Decorator" that describes the decorator.
172172
*/
173173
function getDecoratorInterface(declaration: ts.VariableDeclaration, typeChecker: ts.TypeChecker) {
174174
const name = declaration.name.getText();

packages/compiler/src/i18n/i18n_parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class _I18nVisitor implements html.Visitor {
160160
}
161161

162162
// Else returns a placeholder
163-
// ICU placeholders should not be replaced with their original content but with the their
163+
// ICU placeholders should not be replaced with their original content but with their
164164
// translations.
165165
// TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg
166166
const phName = context.placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());

packages/core/src/render3/hmr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function ɵɵgetReplaceMetadataURL(id: string, timestamp: string, base: s
7070
* Replaces the metadata of a component type and re-renders all live instances of the component.
7171
* @param type Class whose metadata will be replaced.
7272
* @param applyMetadata Callback that will apply a new set of metadata on the `type` when invoked.
73-
* @param environment Syntehtic namespace imports that need to be passed along to the callback.
73+
* @param environment Synthetic namespace imports that need to be passed along to the callback.
7474
* @param locals Local symbols from the source location that have to be exposed to the callback.
7575
* @param importMeta `import.meta` from the call site of the replacement function. Optional since
7676
* it isn't used internally.

packages/core/src/render3/view/construction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export function addToEndOfViewTree<T extends LView | LContainer>(
323323
): T {
324324
// TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer
325325
// to the end of the queue, which means if the developer retrieves the LContainers from RNodes out
326-
// of order, the change detection will run out of order, as the act of retrieving the the
326+
// of order, the change detection will run out of order, as the act of retrieving the
327327
// LContainer from the RNode is what adds it to the queue.
328328
if (lView[CHILD_HEAD]) {
329329
lView[CHILD_TAIL]![NEXT] = lViewOrLContainer;

packages/platform-browser/animations/async/src/async_animation_renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class AsyncAnimationRendererFactory implements OnDestroy, RendererFactory
4444

4545
/**
4646
*
47-
* @param moduleImpl allows to provide a mock implmentation (or will load the animation module)
47+
* @param moduleImpl allows to provide a mock implementation (or will load the animation module)
4848
*/
4949
constructor(
5050
private doc: Document,

0 commit comments

Comments
 (0)