Skip to content

Commit 7280c62

Browse files
aly ahmedclydin
aly ahmed
authored andcommitted
docs(@schematics/angular): update docs on getSourceNodes to match function type
1 parent e629da2 commit 7280c62

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
@@ -152,7 +152,7 @@ export function findNodes<T extends ts.Node>(
152152
/**
153153
* Get all the nodes from a source.
154154
* @param sourceFile The source file object.
155-
* @returns {Observable<ts.Node>} An observable of all the nodes in the source.
155+
* @returns {Array<ts.Node>} An array of all the nodes in the source.
156156
*/
157157
export function getSourceNodes(sourceFile: ts.SourceFile): ts.Node[] {
158158
const nodes: ts.Node[] = [sourceFile];

0 commit comments

Comments
 (0)