From 0cd88db1f7577d0bc6a1dec8cdbcf91f37b9264a Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Thu, 3 Jul 2025 20:43:45 +0100 Subject: [PATCH] Update spec.types.test.ts --- src/spec.types.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/spec.types.test.ts b/src/spec.types.test.ts index 8914fcba..7ae1f2b8 100644 --- a/src/spec.types.test.ts +++ b/src/spec.types.test.ts @@ -2,8 +2,8 @@ * This contains: * - Static type checks to verify the Spec's types are compatible with the SDK's types * (mutually assignable, w/ slight affordances to get rid of ZodObject.passthrough() index signatures, etc) - * - Runtime checks to verify all Spec types have a static check - * (a few don't have SDK types, see TODOs in this file) + * - Runtime checks to verify each Spec type has a static check + * (note: a few don't have SDK types, see TODOs in this file) */ import * as SDKTypes from "./types.js"; import * as SpecTypes from "./spec.types.js"; @@ -685,6 +685,7 @@ function checkServerNotification( // spec = sdk; // } +// This file is .gitignore'd, and fetched by `npm run fetch:spec-types` (called by `npm run test`) const SPEC_TYPES_FILE = 'src/spec.types.ts'; const THIS_SOURCE_FILE = 'src/spec.types.test.ts';