We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b9b12 commit c27254fCopy full SHA for c27254f
common/api-review/rules-unit-testing.api.md
@@ -16,14 +16,13 @@ export function assertSucceeds<T>(pr: Promise<T>): Promise<T>;
16
// @public
17
export type EmulatorConfig = {
18
rules?: string;
19
- endpoint?: HostAndPort;
20
-};
+} & (HostAndPort | {});
21
22
23
-export type HostAndPort = {
+export interface HostAndPort {
24
host: string;
25
port: number;
26
+}
27
28
29
export function initializeTestEnvironment(config: TestEnvironmentConfig): Promise<RulesTestEnvironment>;
0 commit comments