We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e629da2 commit 7280c62Copy full SHA for 7280c62
packages/schematics/angular/utility/ast-utils.ts
@@ -152,7 +152,7 @@ export function findNodes<T extends ts.Node>(
152
/**
153
* Get all the nodes from a source.
154
* @param sourceFile The source file object.
155
- * @returns {Observable<ts.Node>} An observable of all the nodes in the source.
+ * @returns {Array<ts.Node>} An array of all the nodes in the source.
156
*/
157
export function getSourceNodes(sourceFile: ts.SourceFile): ts.Node[] {
158
const nodes: ts.Node[] = [sourceFile];
0 commit comments