Skip to content

Commit

Permalink
Fix type of OverrideSpecifier.vOverrides() to comply with type of chi…
Browse files Browse the repository at this point in the history
…ld nodes (#236)
  • Loading branch information
blitz-1306 authored Nov 10, 2023
1 parent a7344e5 commit 4b08187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast/implementation/meta/override_specifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class OverrideSpecifier extends ASTNodeWithChildren<UserDefinedTypeName |
/**
* Reference to a user-defined types, whose functions are being overridden.
*/
get vOverrides(): UserDefinedTypeName[] {
return this.ownChildren as UserDefinedTypeName[];
get vOverrides(): Array<UserDefinedTypeName | IdentifierPath> {
return this.ownChildren as Array<UserDefinedTypeName | IdentifierPath>;
}
}

0 comments on commit 4b08187

Please sign in to comment.