Skip to content

Commit fdeaeb8

Browse files
committed
fix: remove disallowAmbiguousJSXLike from ts/dts default settings
1 parent 1153f66 commit fdeaeb8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,7 @@ export class Parser {
148148
'flowComments',
149149
'decorators',
150150
'jsx'
151-
).mergePlugins(
152-
['typescript', { disallowAmbiguousJSXLike: true, dts: false }],
153-
'decorators-legacy'
154-
))
151+
).mergePlugins(['typescript', { dts: false }], 'decorators-legacy'))
155152
)
156153
}
157154

@@ -178,10 +175,7 @@ export class Parser {
178175
'flowComments',
179176
'decorators',
180177
'jsx'
181-
).mergePlugins(
182-
['typescript', { disallowAmbiguousJSXLike: true, dts: true }],
183-
'decorators-legacy'
184-
))
178+
).mergePlugins(['typescript', { dts: true }], 'decorators-legacy'))
185179
)
186180
}
187181

0 commit comments

Comments
 (0)