TypeScript/tests/baselines/reference/functionInIfStatementInModule.types

17 lines
247 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/functionInIfStatementInModule.ts ===
module Midori
>Midori : typeof Midori
2014-08-15 23:33:16 +02:00
{
if (false) {
2015-04-13 21:36:11 +02:00
>false : boolean
2014-08-15 23:33:16 +02:00
function Foo(src)
>Foo : (src: any) => void
>src : any
2014-08-15 23:33:16 +02:00
{
}
}
}