16 lines
247 B
Text
16 lines
247 B
Text
=== tests/cases/compiler/functionInIfStatementInModule.ts ===
|
|
|
|
module Midori
|
|
>Midori : typeof Midori
|
|
{
|
|
if (false) {
|
|
>false : boolean
|
|
|
|
function Foo(src)
|
|
>Foo : (src: any) => void
|
|
>src : any
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|