Skip to content

Commit 6cf1e34

Browse files
authored
Merge pull request #3669 from rolego/patch-2
2 parents d95bd32 + 1abe4a2 commit 6cf1e34

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/openapi-ts/plugins/transformers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ This will generate types that use `Date` instead of `string` and appropriate tra
8383

8484
## BigInt
8585

86-
The `@hey-api/transformers` plugin will natively type all BigInts as `bigint` instead of `number`, which can affect arithmetic operations if your application previously used `number`. To force BigInts to be numbers, use the `bigint` configuration option.
86+
The `@hey-api/transformers` plugin will natively type all BigInts as `bigint` instead of `number`, which can affect arithmetic operations if your application previously used `number`. To force BigInts to be numbers, use the `bigInt` configuration option.
8787

8888
```js
8989
export default {
@@ -92,7 +92,7 @@ export default {
9292
plugins: [
9393
// ...other plugins
9494
{
95-
bigint: true, // [!code ++]
95+
bigInt: true, // [!code ++]
9696
name: '@hey-api/transformers',
9797
},
9898
],

0 commit comments

Comments
 (0)