Skip to content

Commit 9482307

Browse files
committed
Adjust assertion comment
1 parent 8326037 commit 9482307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/model/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export function modelType (node: Node): model.ValueOf {
351351
Node.isClassDeclaration(parent) ||
352352
Node.isInterfaceDeclaration(parent) ||
353353
Node.isTypeAliasDeclaration(parent),
354-
'It should be a class, interface, enum, type alias, or type parameter declaration'
354+
'It should be a class, interface, or type alias declaration'
355355
)
356356

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

0 commit comments

Comments
 (0)