Skip to content

Fix flag casing for runOnTs in docs. #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ After installing, you can invoke the command via npx or package.json.
### Via CLI
Read all svelte files from `./src` and generate d.ts files in `./types`
```sh
npx svelte2dts --overwrite --runOnTS --declarationDir ./types ./src
npx svelte2dts --overwrite --runOnTs --declarationDir ./types ./src
```
Show help
```sh
Expand Down Expand Up @@ -57,7 +57,7 @@ Be sure to set declarationDir and outDir to different locations.

Note that with the above setup, you no longer need to specify `--declarationDir` in the command!
```sh
npx svelte2dts --overwrite --runOnTS ./src
npx svelte2dts --overwrite --runOnTs ./src
```

## Purpose
Expand Down