From 721d48e16b76251aee98be68f42a6cec565afb6b Mon Sep 17 00:00:00 2001 From: Victor Korzunin Date: Wed, 15 Sep 2021 23:59:01 +0200 Subject: [PATCH] docs: add readme about outputFormat option --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e2a3b39..f75167a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ generator client { } ``` -With a custom output path (default=./sequelize) +With a custom output path (`./sequelize` - default) ```prisma generator client { @@ -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: