Skip to content

Commit

Permalink
fix: fix return type for close (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanbh authored Feb 21, 2020
1 parent 7994910 commit ab7e371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/optimizely-sdk/lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ declare module "@optimizely/optimizely-sdk" {
onReady(options?: {
timeout?: number;
}): Promise<{ success: boolean; reason?: string }>;
close(): void;
close(): Promise<{ success: boolean; reason?: string }>;
}

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

0 comments on commit ab7e371

Please sign in to comment.