Skip to content

Commit

Permalink
docs: serializer utilities PTL-1699
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth-Spencer-Genesis committed Dec 3, 2024
1 parent 1b277a0 commit 7424da0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ and [React](../../framework-integration/client-framework-integration-react/#depe

```typescript
import { JSONSerializer } from '@genesislcap/foundation-utils';
import { GenesisElement } from '@genesislcap/web-core';

export class MyService extends FASTElement {
export class MyService extends GenesisElement {
@JSONSerializer serializer!: JSONSerializer; // DI token

const object = { date: new Date(), bigNumber: BigInt(12345678901234567890) };
Expand Down

0 comments on commit 7424da0

Please sign in to comment.