Skip to content

Commit

Permalink
chore(docs): Add sub-header for custom parsing in typescript docs (#1903
Browse files Browse the repository at this point in the history
)

I went to share it with someone and it took a bit to find it & then I
couldn't link directly to the custom parsing.
  • Loading branch information
KyleAMathews authored Oct 29, 2024
1 parent 9bd3673 commit 2402073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/docs/api/clients/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ stream.subscribe(messages => {
})
```

#### Custom parsing

By default, `ShapeStream` parses the following Postgres types into native JavaScript values:
- `int2`, `int4`, `float4`, and `float8` are parsed into JavaScript `Number`
- `int8` is parsed into a JavaScript `BigInt`
Expand Down

0 comments on commit 2402073

Please sign in to comment.