Skip to content

Commit d7dccbf

Browse files
clydinalan-agius4
authored andcommitted
refactor(@schematics/angular): correct several comment typos
There were several typos in the comments for the Angular schematics utilities.
1 parent 87a01f9 commit d7dccbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/private/standalone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export function addModuleImportToStandaloneBootstrap(
169169
* @param functionName Name of the function that should be called.
170170
* @param importPath Path from which to import the function.
171171
* @param args Arguments to use when calling the function.
172-
* @returns The file path that the provider was added to.
172+
* @return The file path that the provider was added to.
173173
* @deprecated Private utility that will be removed. Use `addRootImport` or `addRootProvider` from
174174
* `@schematics/angular/utility` instead.
175175
*/

packages/schematics/angular/utility/standalone/code_block.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface PendingCode {
2020
imports: PendingImports;
2121
}
2222

23-
/** Map keeping track of imports and aliases under which they're referred to in an expresion. */
23+
/** Map keeping track of imports and aliases under which they're referred to in an expression. */
2424
type PendingImports = Map<string, Map<string, string>>;
2525

2626
/** Counter used to generate unique IDs. */

0 commit comments

Comments
 (0)