Skip to content

Commit

Permalink
Fix generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
pilsy committed Sep 13, 2024
1 parent 2ce8bd8 commit bb3f855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrono-forge",
"version": "0.6.8",
"version": "0.6.9",
"description": "A comprehensive framework for building resilient Temporal workflows, advanced state management, and real-time streaming activities in TypeScript. Designed for a seamless developer experience with powerful abstractions, dynamic orchestration, and full control over distributed systems.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/StatefulWorkflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export abstract class StatefulWorkflow<
}

@Query()
public get data(): P {
public get data(): P['data'] {
return this.schemaManager.query(this.entityName, this.id);
}

Expand Down

0 comments on commit bb3f855

Please sign in to comment.