@@ -481,7 +481,7 @@ export function modelEnumDeclaration (declaration: EnumDeclaration): model.Enum
481481 // names that contains `.` or `-` will be wrapped inside single quotes
482482 const name = m . getName ( ) . replace ( / ' / g, '' )
483483 const member : model . EnumMember = {
484- name : name
484+ name
485485 }
486486 const value = m . getValue ( )
487487 if ( value != null && ( typeof value === 'string' ) ) {
@@ -1097,14 +1097,14 @@ export function parseVariantsTag (jsDoc: JSDoc[]): model.Variants | undefined {
10971097 if ( type === 'external' ) {
10981098 return {
10991099 kind : 'external_tag' ,
1100- nonExhaustive : nonExhaustive
1100+ nonExhaustive
11011101 }
11021102 }
11031103
11041104 if ( type === 'container' ) {
11051105 return {
11061106 kind : 'container' ,
1107- nonExhaustive : nonExhaustive
1107+ nonExhaustive
11081108 }
11091109 }
11101110
@@ -1113,7 +1113,7 @@ export function parseVariantsTag (jsDoc: JSDoc[]): model.Variants | undefined {
11131113 assert ( jsDoc , typeof pairs . tag === 'string' , 'Internal variant requires a tag definition' )
11141114 return {
11151115 kind : 'internal_tag' ,
1116- nonExhaustive : nonExhaustive ,
1116+ nonExhaustive,
11171117 tag : pairs . tag ,
11181118 defaultTag : pairs . default
11191119 }
@@ -1125,7 +1125,7 @@ export function parseVariantsTag (jsDoc: JSDoc[]): model.Variants | undefined {
11251125 const fqn = pairs . untyped . split ( '.' )
11261126 return {
11271127 kind : 'untagged' ,
1128- nonExhaustive : nonExhaustive ,
1128+ nonExhaustive,
11291129 untypedVariant : {
11301130 namespace : fqn . slice ( 0 , fqn . length - 1 ) . join ( '.' ) ,
11311131 name : fqn [ fqn . length - 1 ]
0 commit comments