* 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>
4 lines
29 B
JSON
4 lines
29 B
JSON
{
|
|
"sourceType": "module"
|
|
}
|