Skip to content

Conversation

@fredr
Copy link
Member

@fredr fredr commented Dec 11, 2025

This doesn't add any new schema features, but makes it possible for the parser to parse method signatures, so that types like these are possible:

type AType = {
  a: string;
  b: number;
  c(x: string, z: number): boolean;
};

type MyType = Pick<AType, "a" | "b">;

@fredr fredr self-assigned this Dec 11, 2025
@fredr fredr requested a review from eandre December 11, 2025 15:15
@encore-cla
Copy link

encore-cla bot commented Dec 11, 2025

All committers have signed the CLA.

@fredr fredr force-pushed the fredr/ts-method-signatures branch from 8b99ecc to 3ebe58d Compare December 11, 2025 15:25
Copy link
Member

@eandre eandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants