Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

#47341 breaks knockout.mapping tests on Definitely Typed #47371

Copy link
Copy link
@sandersn

Description

@sandersn
Issue body actions

Knockout.mapping tests rely on the old signature relation rules. The repro is fairly small:

interface Kow<T> {
    (value: T): void;
}
declare var src: Kow<true> | Kow<false>;
var tgt: Kow<boolean> = src;

Expected: src assignable to target.
Actual: Error, type 'boolean' is not assignable to type 'false'.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.