TypeScript/tests/baselines/reference/compoundVarDecl1.types

15 lines
261 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/compoundVarDecl1.ts ===
module Foo { var a = 1, b = 1; a = b + 2; }
>Foo : typeof Foo
>a : number
>b : number
>a = b + 2 : number
>a : number
>b + 2 : number
>b : number
var foo = 4, bar = 5;
>foo : number
>bar : number