TypeScript/tests/baselines/reference/optionalProperties02.types
2016-11-12 12:59:57 -08:00

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