File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/devextreme-cli/src/applications Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,14 @@ const updateJsonPropName = (path, name) => {
5454const 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
You can’t perform that action at this time.
0 commit comments