* refactor: simplify parseLiteral interface * refactor: extract specific methods on parsing literals * fix: avoid StringLiteral type comparison * add test cases * fix: remove redundant node * Update packages/babel-parser/src/plugins/flow/index.js Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com> * update test fixtures * fix: refine parseLiteral typings Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
5 lines
89 B
JSON
5 lines
89 B
JSON
{
|
|
"plugins": ["flow", "jsx", "estree", "importAssertions"],
|
|
"sourceType": "module"
|
|
}
|