Skip to content

Commit

Permalink
Update documentation to include new includeJSExtension option
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnusG committed Jun 6, 2022
1 parent 2f05e53 commit be50f32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ npm install -g yarn
imports = null // (default) will import the referenced file in generated schemas to be used via imports.someExportedVariable
// https://devblogs.microsoft.com/typescript/announcing-typescript-4-7-beta/#ecmascript-module-support-in-node-js
// includeJSExtension = false // (default) leaves relative import/exports extensionless
includeJSExtension = true // includes the .js extension on relative import/exports to comply with ESM in TS syntax requirements ()
// https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values
prismaJsonNullability = true // (default) uses prisma's scheme for JSON field nullability
// prismaJsonNullability = false // allows null assignment to optional JSON fields
Expand Down

0 comments on commit be50f32

Please sign in to comment.