Skip to content

Fix typo #45834

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

Closed
wants to merge 1 commit into from
Closed

Fix typo #45834

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,16 @@ module GenericSignaturesValid {
}

interface I2 extends Base2 {
a: <T>(x?: T) => T; // error, not identical and contextual signature instatiation can't make inference from T to T
a: <T>(x?: T) => T; // error, not identical and contextual signature instantiation can't make inference from T to T
}

interface I3 extends Base2 {
a: <T>(x: T) => T; // error, not identical and contextual signature instatiation can't make inference from T to T
a: <T>(x: T) => T; // error, not identical and contextual signature instantiation can't make inference from T to T
}


interface I4 extends Base2 {
a2: <T>() => T; // error, not identical and contextual signature instatiation can't make inference from T to T
a2: <T>() => T; // error, not identical and contextual signature instantiation can't make inference from T to T
}

interface I5 extends Base2 {
Expand Down Expand Up @@ -229,7 +229,7 @@ module GenericSignaturesValid {


interface I11 extends Base2 {
a4: <T>() => T; // error, not identical and contextual signature instatiation can't make inference from T to T
a4: <T>() => T; // error, not identical and contextual signature instantiation can't make inference from T to T
}

interface I12 extends Base2 {
Expand All @@ -246,7 +246,7 @@ module GenericSignaturesValid {


interface I15 extends Base2 {
a5: <T>() => T; // error, not identical and contextual signature instatiation can't make inference from T to T
a5: <T>() => T; // error, not identical and contextual signature instantiation can't make inference from T to T
}

interface I16 extends Base2 {
Expand All @@ -260,4 +260,4 @@ module GenericSignaturesValid {
interface I18 extends Base2 {
a5: <T>(x: T, y: T) => T; // ok, same number of params
}
}
}