16 lines
No EOL
260 B
TypeScript
16 lines
No EOL
260 B
TypeScript
// @target: ES3
|
|
// @sourcemap: true
|
|
|
|
interface Document {
|
|
}
|
|
interface Window {
|
|
document: Document;
|
|
}
|
|
declare var window: Window;
|
|
|
|
module Foo {
|
|
var x = "test1";
|
|
var y = "test 2\
|
|
isn't this a lot of fun";
|
|
var z = window.document;
|
|
} |