Skip to content

Commit 4fcff43

Browse files
committed
fix return type for close
1 parent 9fe10a0 commit 4fcff43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/optimizely-sdk/lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ declare module "@optimizely/optimizely-sdk" {
115115
onReady(options?: {
116116
timeout?: number;
117117
}): Promise<{ success: boolean; reason?: string }>;
118-
close(): void;
118+
close(): Promise<{ success: boolean; reason?: string }>;
119119
}
120120

121121
// An event to be submitted to Optimizely, enabling tracking the reach and impact of

0 commit comments

Comments
 (0)