Skip to content

Commit e392a86

Browse files
authored
fix(ASTDeps): add missing Symbol.iterator in class typedef (#175)
1 parent fb79b69 commit e392a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/astdeps.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ declare class ASTDeps {
2626
removeByName(name: string): void;
2727
add(depName: string): void;
2828
getDependenciesInTryStatement(): IterableIterator<string>;
29+
[Symbol.iterator]: IterableIterator<string>;
2930

3031
public isInTryStmt: boolean;
3132
public dependencies: Record<string, Dependency>;

0 commit comments

Comments
 (0)