Skip to content

Commit c08da15

Browse files
authored
fix(sdk): export SerdesContext type in index.ts (#423)
*Issue #, if available:* N/A *Description of changes:* When implementing the `Serdes` interface, it was annoying to declare the type of the `context` parameter on the `serialize` and `deserialize` functions without an easily importable reference to `SerdesContext`. This change addresses that by just adding `SerdesContext` to the exports in the `packages/aws-durable-execution-sdk-js/src/index.ts` file. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 6005729 commit c08da15

File tree

1 file changed

+1
-0
lines changed
  • packages/aws-durable-execution-sdk-js/src

1 file changed

+1
-0
lines changed

packages/aws-durable-execution-sdk-js/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export {
5050
createClassSerdes,
5151
createClassSerdesWithDates,
5252
Serdes,
53+
SerdesContext,
5354
} from "./utils/serdes/serdes";
5455
export { DurableExecutionApiClient } from "./durable-execution-api-client/durable-execution-api-client";
5556
export {

0 commit comments

Comments
 (0)