TypeScript/tests/baselines/reference/metadataOfEventAlias.types

24 lines
494 B
Plaintext

=== tests/cases/compiler/event.ts ===
export interface Event { title: string };
>Event : Event
>title : string
=== tests/cases/compiler/test.ts ===
import { Event } from './event';
>Event : any
function Input(target: any, key: string): void { }
>Input : (target: any, key: string) => void
>target : any
>key : string
export class SomeClass {
>SomeClass : SomeClass
@Input event: Event;
>Input : (target: any, key: string) => void
>event : Event
>Event : Event
}