Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referencing property of template parameter that extends something that has said property fails #1280

Open
johanste opened this issue Nov 15, 2022 · 1 comment · May be fixed by #2101
Open
Assignees
Milestone

Comments

@johanste
Copy link
Contributor

model Discriminated {
  kind: string;
};

model OpenAiList<T extends Discriminated> {
  broken: T.kind;
  works: Discriminated.kind;
}

playground

@ghost ghost added the Needs Triage label Nov 15, 2022
@markcowl markcowl added this to the [2023] February milestone Nov 16, 2022
@markcowl
Copy link
Contributor

est: 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants