Skip to content

Conversation

@fredr
Copy link
Member

@fredr fredr commented Dec 19, 2025

Add support for call expessions by parsing type annotations, not via body parsing

Add support for getting types like these:

export type Ret = {
  id: number;
  name: string;
  description: string;
};

function HelloWorld(a: string, b: number): Ret {
  return {
    id: 1,
    name: "Hello",
    description: "Hello description",
  };
}

export const X = HelloWorld("hello", 5);
export type Y = typeof X;

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

encore-cla bot commented Dec 19, 2025

All committers have signed the CLA.

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