Skip to content

Commit

Permalink
docs: add readme about outputFormat option
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Korzunin committed Sep 15, 2021
1 parent bb915d0 commit 721d48e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ generator client {
}
```

With a custom output path (default=./sequelize)
With a custom output path (`./sequelize` - default)

```prisma
generator client {
Expand All @@ -44,6 +44,17 @@ generator client {
}
```

Additional options

```prisma
generator client {
provider = "prisma-sequelize-generator"
outputFormat = "typescript"
}
```

Supported output formats are `javascript` (alias `js` - default) and `typescript` (alias `ts`).

### 3. Run generation

prisma:
Expand Down

0 comments on commit 721d48e

Please sign in to comment.