2014-09-12 22:20:10 +02:00
|
|
|
EmitOutputStatus : Succeeded
|
|
|
|
Filename : declSingleFile.js
|
2014-09-17 23:44:17 +02:00
|
|
|
var x = 5;
|
|
|
|
var Bar = (function () {
|
|
|
|
function Bar() {
|
|
|
|
}
|
|
|
|
return Bar;
|
|
|
|
})();
|
|
|
|
var x1 = "hello world";
|
|
|
|
var Foo = (function () {
|
|
|
|
function Foo() {
|
|
|
|
}
|
|
|
|
return Foo;
|
|
|
|
})();
|
2014-09-12 22:20:10 +02:00
|
|
|
Filename : declSingleFile.d.ts
|
2014-09-17 23:44:17 +02:00
|
|
|
declare var x: number;
|
|
|
|
declare class Bar {
|
|
|
|
x: string;
|
|
|
|
y: number;
|
|
|
|
}
|
|
|
|
declare var x1: string;
|
|
|
|
declare class Foo {
|
|
|
|
x: string;
|
|
|
|
y: number;
|
|
|
|
}
|
2014-09-12 22:20:10 +02:00
|
|
|
|