Skip to content

Commit 4fbdae7

Browse files
authored
[types] Align VODefinition with Service and Workflow (#568)
This change aligns the definition with service and workflow definitions.
1 parent 6f73a64 commit 4fbdae7

File tree

1 file changed

+1
-1
lines changed
  • packages/restate-sdk-core/src

1 file changed

+1
-1
lines changed

packages/restate-sdk-core/src/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export type VirtualObject<M> = M extends VirtualObjectDefinition<
9393
infer O
9494
>
9595
? O
96-
: never;
96+
: M;
9797

9898
export type VirtualObjectDefinitionFrom<M> = M extends VirtualObjectDefinition<
9999
string,

0 commit comments

Comments
 (0)