Skip to content

Commit 26ba254

Browse files
fix tsconfig for react lint checking
1 parent d021d56 commit 26ba254

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/devextreme-cli/src/applications/application.react.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ const updateJsonPropName = (path, name) => {
5454
const create = async(appName, options) => {
5555
const templateType = await getTemplateTypeInfo(options.template);
5656
const layoutType = await getLayoutInfo(options.layout);
57-
const isTs = templateOptions.isTypeScript;
57+
const isTs = typescriptUtils.isTypeScript(templateType);
5858

5959
const templateOptions = Object.assign({}, options, {
6060
project: stringUtils.humanize(appName),
6161
layout: stringUtils.classify(layoutType),
62-
isTypeScript: typescriptUtils.isTypeScript(templateType)
62+
isTypeScript: isTs,
6363
});
64+
6465
const toolingVersion = extractToolingVersion(options);
6566
const commandArguments = [`-p=create-vite${toolingVersion}`, 'create-vite', appName];
6667

0 commit comments

Comments
 (0)