Skip to content

Commit 8300293

Browse files
committed
test: update tsnapi snapshot for DevframeRpcClient.close()
CI's exports.test.ts snapshots each package's public .d.ts surface; adding close() to DevframeRpcClient/DevframeRpcClientMode is a real, intentional API change, so devframe/client.snapshot.d.ts needs to reflect it. Verified with a full `pnpm run build` at the repo root first, so tsnapi reads every package's real dist output rather than erroring on a missing one — this is the only snapshot that changed; close() doesn't ripple into any plugin's or @devframes/hub's public surface. `pnpm exec vitest run` — 101 files, 1087 tests, all green (was 1 failing). `pnpm run lint` and `pnpm run typecheck` (25 packages via turbo) both clean.
1 parent 8cc1bc6 commit 8300293

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/__snapshots__/tsnapi/devframe/client.snapshot.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export interface DevframeRpcClient {
2929
<NS extends string>(_: NS): DevframeScopedClientContext<NS, SettingsForNamespace<NS>>;
3030
(_?: null | ''): DevframeRpcClient;
3131
};
32+
close: () => void;
3233
}
3334
export interface DevframeRpcClientMode {
3435
readonly isTrusted: boolean;
@@ -41,6 +42,7 @@ export interface DevframeRpcClientMode {
4142
call: DevframeRpcClient['call'];
4243
callEvent: DevframeRpcClient['callEvent'];
4344
callOptional: DevframeRpcClient['callOptional'];
45+
close: () => void;
4446
}
4547
export interface DevframeRpcClientOptions extends SetupDevframeConnectionOptions {
4648
authToken?: string;

0 commit comments

Comments
 (0)