Skip to content

Commit

Permalink
Adjust assertion comment
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd committed Jun 18, 2024
1 parent 8326037 commit 9482307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/model/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export function modelType (node: Node): model.ValueOf {
Node.isClassDeclaration(parent) ||
Node.isInterfaceDeclaration(parent) ||
Node.isTypeAliasDeclaration(parent),
'It should be a class, interface, enum, type alias, or type parameter declaration'
'It should be a class, interface, or type alias declaration'
)

type.type.namespace = `${type.type.namespace}.${parent.getName() as string}`
Expand Down

0 comments on commit 9482307

Please sign in to comment.