TypeScript/tests/baselines/reference/crashInresolveReturnStatement.types

44 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/crashInresolveReturnStatement.ts ===
class WorkItemToolbar {
>WorkItemToolbar : WorkItemToolbar
2014-08-15 23:33:16 +02:00
public onToolbarItemClick() {
>onToolbarItemClick : () => void
2014-08-15 23:33:16 +02:00
WITDialogs.createCopyOfWorkItem();
>WITDialogs.createCopyOfWorkItem() : void
>WITDialogs.createCopyOfWorkItem : () => void
>WITDialogs : typeof WITDialogs
>createCopyOfWorkItem : () => void
2014-08-15 23:33:16 +02:00
}
}
class CreateCopyOfWorkItemDialog {
>CreateCopyOfWorkItemDialog : CreateCopyOfWorkItemDialog
2014-08-15 23:33:16 +02:00
public getDialogResult() {
>getDialogResult : () => any
2014-08-15 23:33:16 +02:00
return null;
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00
}
}
function createWorkItemDialog<P0>(dialogType: P0) {
>createWorkItemDialog : <P0>(dialogType: P0) => void
>P0 : P0
>dialogType : P0
>P0 : P0
2014-08-15 23:33:16 +02:00
}
class WITDialogs {
>WITDialogs : WITDialogs
2014-08-15 23:33:16 +02:00
public static createCopyOfWorkItem() {
>createCopyOfWorkItem : () => void
2014-08-15 23:33:16 +02:00
createWorkItemDialog(CreateCopyOfWorkItemDialog);
>createWorkItemDialog(CreateCopyOfWorkItemDialog) : void
>createWorkItemDialog : <P0>(dialogType: P0) => void
>CreateCopyOfWorkItemDialog : typeof CreateCopyOfWorkItemDialog
2014-08-15 23:33:16 +02:00
}
}