Skip to content

Commit

Permalink
Remove getRealtimeHost from CompleteDefaults
Browse files Browse the repository at this point in the history
It’s not used, and the property doesn’t actually exist on the Defaults
const (type assertion means compiler doesn’t catch it).
  • Loading branch information
lawrence-forooghian committed May 16, 2024
1 parent 6bb2f82 commit eab98b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/lib/util/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ type CompleteDefaults = IDefaults & {
getFallbackHosts(options: NormalisedClientOptions): string[];
getHosts(options: NormalisedClientOptions, ws?: boolean): string[];
checkHost(host: string): void;
getRealtimeHost(options: ClientOptions, production: boolean, environment: string): string;
objectifyOptions(
options: undefined | ClientOptions | string,
allowKeyOrToken: boolean,
Expand Down

0 comments on commit eab98b9

Please sign in to comment.