mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
Accept new baselines
This commit is contained in:
parent
524b7c9954
commit
359f2ebd54
@ -25,9 +25,9 @@ class C<T extends Options> {
|
||||
>foo : { [P in keyof T]: T[P]; }
|
||||
|
||||
!(a && b);
|
||||
>!(a && b) : false
|
||||
>(a && b) : T["b"]
|
||||
>a && b : T["b"]
|
||||
>!(a && b) : boolean
|
||||
>(a && b) : 0 | T["b"] | undefined
|
||||
>a && b : 0 | T["b"] | undefined
|
||||
>a : T["a"]
|
||||
>b : T["b"]
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ class A<P extends Partial<Foo>> {
|
||||
>doSomething : () => void
|
||||
|
||||
this.props.foo && this.props.foo()
|
||||
>this.props.foo && this.props.foo() : void
|
||||
>this.props.foo && this.props.foo() : void | undefined
|
||||
>this.props.foo : P["foo"]
|
||||
>this.props : Readonly<P>
|
||||
>this : this
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user