Skip to content

Commit 3df3710

Browse files
committed
fix: fix typing of createComponent
1 parent c15f6de commit 3df3710

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

main.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ export class Session {
127127
data: Data,
128128
identifyingKeys?: string[]
129129
): Promise<Response<T>>;
130-
createComponent<T>(file: File, options: Data): Promise<Response<T>>;
130+
createComponent(
131+
file: File,
132+
options: Data
133+
): Promise<[Response<Entity>, Response<Entity>, Data]>;
131134

132135
getSchema(entityType: string): Data;
133136
getComponentUrl(componentId: string | null): string | null;

0 commit comments

Comments
 (0)