Skip to content

Commit

Permalink
fix: EnumValueDefinition cannot be DocumentedNode because both can be…
Browse files Browse the repository at this point in the history
… strings
  • Loading branch information
Eduard Lavuš committed Jul 7, 2020
1 parent 57b8855 commit f7587b9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/interfaces/ast/profile-ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,11 @@ export interface EnumModelDefinitionNode
*
* These are either string or number literals
*/
export interface EnumValueDefinition
extends ProfileASTNodeBase,
DocumentedNode {
export interface EnumValueDefinition extends ProfileASTNodeBase {
kind: 'EnumValueDefinition';
enumValue: string | number;
enumValue: string | number | boolean;
}

export type AnonymousModelDefinitionNode =
| ObjectModelDefinitionNode
| UnionModelDefinitionNode
Expand Down

0 comments on commit f7587b9

Please sign in to comment.