Skip to content

Commit

Permalink
fix: props type missing 'symbol' support
Browse files Browse the repository at this point in the history
  • Loading branch information
hikerpig committed Mar 13, 2019
1 parent 982af15 commit 9fb32b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tsvue-ast-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const TYPE_KEYWORD_CTOR_MAP = {
boolean: t.tsBooleanKeyword,
number: t.tsNumberKeyword,
string: t.tsStringKeyword,
symbol: t.tsSymbolKeyword,
}

function genTypeKeyword(typeStr: string) {
Expand Down

0 comments on commit 9fb32b7

Please sign in to comment.