Skip to content

Commit 44d5f25

Browse files
delvedorswallez
andauthored
Update specification/compiler/model/build-model.ts
Co-authored-by: Sylvain Wallez <[email protected]>
1 parent df20a90 commit 44d5f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specification/compiler/model/build-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function compileClassOrInterfaceDeclaration (declaration: ClassDeclaration | Int
266266

267267
const variants = parseVariantsTag(declaration.getJsDocs())
268268
if (variants != null) {
269-
assert(variants.kind === 'container', 'Interfaces can only use `container` vairant kind')
269+
assert(variants.kind === 'container', 'Interfaces can only use `container` variant kind')
270270
type.variants = variants
271271
}
272272

0 commit comments

Comments
 (0)