20 lines
350 B
Plaintext
20 lines
350 B
Plaintext
=== tests/cases/conformance/types/typeRelationships/comparable/optionalProperties02.ts ===
|
|
|
|
interface Foo {
|
|
>Foo : Foo
|
|
|
|
a?: string;
|
|
>a : string | undefined
|
|
|
|
b: string;
|
|
>b : string
|
|
}
|
|
|
|
<Foo>{ a: undefined };
|
|
><Foo>{ a: undefined } : Foo
|
|
>Foo : Foo
|
|
>{ a: undefined } : { a: undefined; }
|
|
>a : undefined
|
|
>undefined : undefined
|
|
|