Skip to content

Commit 8bf8a52

Browse files
authored
Merge pull request #56 from scratchfoundation/fix-gui-typing
fix(gui typing): make params optional
2 parents b6e4f7d + e7b2ba7 commit 8bf8a52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/scratch-gui/src/gui-config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export interface GUIStorage {
2323
projectId: ProjectId | null | undefined,
2424
vmState: string,
2525
params: {
26-
originalId: ProjectId;
27-
isCopy: boolean | 1;
28-
isRemix: boolean | 1;
29-
title: string;
26+
originalId?: ProjectId;
27+
isCopy?: boolean | 1;
28+
isRemix?: boolean | 1;
29+
title?: string;
3030
}
3131
): Promise<{ id: ProjectId }>;
3232

0 commit comments

Comments
 (0)