Skip to content

Commit 4d2bce1

Browse files
Fix typecheck in create-audius-app (#13815)
1 parent 3f8f459 commit 4d2bce1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/create-audius-app/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Command } from 'commander'
44
import path from 'path'
55
import prompts from 'prompts'
66
import { createApp } from './create-app'
7+
import type { ExampleType } from './helpers/examples'
78
import { validateNpmName } from './helpers/validate-pkg'
89
import packageJson from './package.json'
910
import { isFolderEmpty } from './helpers/is-folder-empty'
@@ -108,7 +109,7 @@ async function run() {
108109
process.exit(1)
109110
}
110111

111-
const example = (typeof exampleOption === 'string' ? exampleOption : 'react-hono').trim()
112+
const example = (typeof exampleOption === 'string' ? exampleOption : 'react-hono').trim() as ExampleType
112113

113114
await createApp({
114115
appPath: resolvedProjectPath,

0 commit comments

Comments
 (0)