Skip to content

Commit fdff289

Browse files
committed
fix(test): remove stale @ts-expect-error directives for resolved spec mismatches
1 parent 2bd0318 commit fdff289

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/core/test/spec.types.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,6 @@ type _K_ReadResourceResult = Assert<AssertExactKeys<SDKTypes.ReadResourceResult,
855855
type _K_ResourceContents = Assert<AssertExactKeys<SDKTypes.ResourceContents, SpecTypes.ResourceContents>>;
856856
type _K_TextResourceContents = Assert<AssertExactKeys<SDKTypes.TextResourceContents, SpecTypes.TextResourceContents>>;
857857
type _K_BlobResourceContents = Assert<AssertExactKeys<SDKTypes.BlobResourceContents, SpecTypes.BlobResourceContents>>;
858-
// @ts-expect-error Genuine mismatch: SDK Resource is missing 'size' from spec
859858
type _K_Resource = Assert<AssertExactKeys<SDKTypes.Resource, SpecTypes.Resource>>;
860859
// @ts-expect-error Genuine mismatch: SDK PromptArgument is missing 'title' from spec
861860
type _K_PromptArgument = Assert<AssertExactKeys<SDKTypes.PromptArgument, SpecTypes.PromptArgument>>;
@@ -866,7 +865,6 @@ type _K_TextContent = Assert<AssertExactKeys<SDKTypes.TextContent, SpecTypes.Tex
866865
type _K_ImageContent = Assert<AssertExactKeys<SDKTypes.ImageContent, SpecTypes.ImageContent>>;
867866
type _K_AudioContent = Assert<AssertExactKeys<SDKTypes.AudioContent, SpecTypes.AudioContent>>;
868867
type _K_EmbeddedResource = Assert<AssertExactKeys<SDKTypes.EmbeddedResource, SpecTypes.EmbeddedResource>>;
869-
// @ts-expect-error Genuine mismatch: SDK ResourceLink is missing 'size' from spec
870868
type _K_ResourceLink = Assert<AssertExactKeys<SDKTypes.ResourceLink, SpecTypes.ResourceLink>>;
871869
type _K_PromptMessage = Assert<AssertExactKeys<SDKTypes.PromptMessage, SpecTypes.PromptMessage>>;
872870
type _K_BooleanSchema = Assert<AssertExactKeys<SDKTypes.BooleanSchema, SpecTypes.BooleanSchema>>;
@@ -886,9 +884,7 @@ type _K_LegacyTitledEnumSchema = Assert<AssertExactKeys<SDKTypes.LegacyTitledEnu
886884
type _K_JSONRPCErrorResponse = Assert<AssertExactKeys<SDKTypes.JSONRPCErrorResponse, SpecTypes.JSONRPCErrorResponse>>;
887885
type _K_JSONRPCResultResponse = Assert<AssertExactKeys<SDKTypes.JSONRPCResultResponse, SpecTypes.JSONRPCResultResponse>>;
888886
type _K_InitializeResult = Assert<AssertExactKeys<SDKTypes.InitializeResult, SpecTypes.InitializeResult>>;
889-
// @ts-expect-error Genuine mismatch: SDK ClientCapabilities is missing 'extensions' from spec
890887
type _K_ClientCapabilities = Assert<AssertExactKeys<SDKTypes.ClientCapabilities, SpecTypes.ClientCapabilities>>;
891-
// @ts-expect-error Genuine mismatch: SDK ServerCapabilities is missing 'extensions' from spec
892888
type _K_ServerCapabilities = Assert<AssertExactKeys<SDKTypes.ServerCapabilities, SpecTypes.ServerCapabilities>>;
893889
type _K_SamplingMessage = Assert<AssertExactKeys<SDKTypes.SamplingMessage, SpecTypes.SamplingMessage>>;
894890
type _K_Icon = Assert<AssertExactKeys<SDKTypes.Icon, SpecTypes.Icon>>;

0 commit comments

Comments
 (0)