We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aeda59 commit d8b07ffCopy full SHA for d8b07ff
packages/react-app-alias-ex/src/index.js
@@ -96,7 +96,10 @@ function expandPluginsTsChecker(plugins, configPath) {
96
...(opts.compilerOptions || {}),
97
paths,
98
}
99
- const options = {
+ const typescriptIsString = String(opts.typescript) === opts.typescript
100
+ const options = typescriptIsString ? {
101
+ ...opts, compilerOptions
102
+ } : {
103
...opts,
104
typescript: {
105
...opts.typescript,
0 commit comments