Skip to content

Commit 4fc9116

Browse files
author
Hideaki Matsunami
committed
Add typing 'Literal#raw' property
vue-eslint-parser's ESLintLiteralBase Node has 'raw' property. ref: https://github.com/vuejs/vue-eslint-parser/blob/160f4efc4eaf363662b464a4a26a4c9e514deb5d/src/ast/nodes.ts#L395 It was necessary to identify quotes in the match-component-file-name's fixer.
1 parent 309cace commit 4fc9116

File tree

1 file changed

+1
-0
lines changed
  • typings/eslint-plugin-vue/util-types/ast

1 file changed

+1
-0
lines changed

typings/eslint-plugin-vue/util-types/ast/es-ast.ts

+1
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ export interface PrivateIdentifier extends HasParentNode {
347347
export interface Literal extends HasParentNode {
348348
type: 'Literal'
349349
value: string | boolean | null | number | RegExp | BigInt
350+
raw: string
350351
regex?: {
351352
pattern: string
352353
flags: string

0 commit comments

Comments
 (0)