Skip to content

Commit 38966c9

Browse files
aly ahmedalan-agius4
aly ahmed
authored andcommitted
docs(@schematics/angular): update docs on getSourceNodes to match function type
(cherry picked from commit 7280c62)
1 parent f49f792 commit 38966c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/schematics/angular/utility/ast-utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export function findNodes(node: ts.Node, kind: ts.SyntaxKind, max = Infinity, re
129129
/**
130130
* Get all the nodes from a source.
131131
* @param sourceFile The source file object.
132-
* @returns {Observable<ts.Node>} An observable of all the nodes in the source.
132+
* @returns {Array<ts.Node>} An array of all the nodes in the source.
133133
*/
134134
export function getSourceNodes(sourceFile: ts.SourceFile): ts.Node[] {
135135
const nodes: ts.Node[] = [sourceFile];

0 commit comments

Comments
 (0)