File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
apps/svelte.dev/content/docs/cli/20-commands Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,6 @@ npx sv create [options] [path]
1212
1313## Options
1414
15- <!-- TODO this flag should probably just be '--types', and the options should be 'ts' or 'jsdoc' -->
16-
17- ### ` --check-types <option> `
18-
19- Whether and how to add typechecking to the project:
20-
21- - ` typescript ` — default to ` .ts ` files and use ` lang="ts" ` for ` .svelte ` components
22- - ` checkjs ` — use [ JSDoc syntax] ( https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html ) for types
23- - ` none ` — no typechecking. Not recommended!
24-
2515### ` --template <name> `
2616
2717Which project template to use:
@@ -30,9 +20,18 @@ Which project template to use:
3020- ` demo ` — showcase app with a word guessing game that works without JavaScript
3121- ` library ` — template for a Svelte library, set up with ` svelte-package `
3222
33- ### ` --no-integrations `
23+ ### ` --types <option> `
24+
25+ Whether and how to add typechecking to the project:
26+
27+ - ` ts ` — default to ` .ts ` files and use ` lang="ts" ` for ` .svelte ` components
28+ - ` jsdoc ` — use [ JSDoc syntax] ( https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html ) for types
29+
30+ ### ` --no-types `
31+
32+ Prevent typechecking from being added. Not recommended!
3433
35- <!-- TODO should be renamed to `--no-addons` -->
34+ ### ` --no-add-ons `
3635
3736Run the command without the interactive add-ons prompt
3837
You can’t perform that action at this time.
0 commit comments