Skip to content

Commit 8f94f9c

Browse files
PublishOptions type issue fix
When using Ably with TypeScript, I cannot build because I am told that quickAck cannot be undefined based on the definition below, yet quickAck has a `?` which I assume means it does allow boolean or undefined as a value. This is an incompatible change introduced in 02de82b and is breaking TypeScript builds.
1 parent d02000d commit 8f94f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ably.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2287,7 +2287,7 @@ export type PublishOptions = {
22872287
* Support any publish options that may be added serverside without needing
22882288
* typings changes.
22892289
*/
2290-
[k: string]: string | number | boolean;
2290+
[k: string]: string | number | boolean | undefined;
22912291
};
22922292

22932293
/**

0 commit comments

Comments
 (0)