Skip to content

Commit 0cd88db

Browse files
committed
Update spec.types.test.ts
1 parent e388806 commit 0cd88db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/spec.types.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* This contains:
33
* - Static type checks to verify the Spec's types are compatible with the SDK's types
44
* (mutually assignable, w/ slight affordances to get rid of ZodObject.passthrough() index signatures, etc)
5-
* - Runtime checks to verify all Spec types have a static check
6-
* (a few don't have SDK types, see TODOs in this file)
5+
* - Runtime checks to verify each Spec type has a static check
6+
* (note: a few don't have SDK types, see TODOs in this file)
77
*/
88
import * as SDKTypes from "./types.js";
99
import * as SpecTypes from "./spec.types.js";
@@ -685,6 +685,7 @@ function checkServerNotification(
685685
// spec = sdk;
686686
// }
687687

688+
// This file is .gitignore'd, and fetched by `npm run fetch:spec-types` (called by `npm run test`)
688689
const SPEC_TYPES_FILE = 'src/spec.types.ts';
689690
const THIS_SOURCE_FILE = 'src/spec.types.test.ts';
690691

0 commit comments

Comments
 (0)