Skip to content

Commit

Permalink
fix(ast-spec): specify PunctuatorToken's value type
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Jun 7, 2021
1 parent dac8845 commit cbe1ebd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/ast-spec/src/token/PunctuatorToken/spec.ts
Expand Up @@ -3,4 +3,18 @@ import type { BaseToken } from '../../base/BaseToken';

export interface PunctuatorToken extends BaseToken {
type: AST_TOKEN_TYPES.Punctuator;
value:
| ','
| ';'
| ':'
| '!'
| '?.'
| '?'
| '('
| ')'
| '['
| ']'
| '{'
| '}'
| '=';
}

0 comments on commit cbe1ebd

Please sign in to comment.