-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-estree
Playground Link
No response
Repro Code
> require('@typescript-eslint/typescript-estree').parse('import json from "./foo.json" assert { type: "json", type: "bar" };').body[0].attributes
[
{
type: 'TSAssertEntry',
name: {
type: 'Identifier',
decorators: [],
name: 'type',
optional: false,
typeAnnotation: undefined,
range: [Array],
loc: [Object]
},
value: {
type: 'Literal',
value: 'json',
raw: '"json"',
range: [Array],
loc: [Object]
}
},
{
type: 'TSAssertEntry',
name: {
type: 'Identifier',
decorators: [],
name: 'type',
optional: false,
typeAnnotation: undefined,
range: [Array],
loc: [Object]
},
value: {
type: 'Literal',
value: 'bar',
raw: '"bar"',
range: [Array],
loc: [Object]
}
}
]
ESLint Config
No response
tsconfig
No response
Expected Result
Didn't see it mentioned in the changelog.
Actual Result
See above.
Additional Info
No response
Versions
6.11.0
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree