Skip to content

Commit 1abe4a2

Browse files
authored
Fix typo in BigInt configuration option
Corrected the configuration option name from 'bigint' to 'bigInt' in the documentation.
1 parent d95bd32 commit 1abe4a2

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)