34 lines
612 B
Text
34 lines
612 B
Text
=== tests/cases/compiler/sourceMap-StringLiteralWithNewLine.ts ===
|
|
|
|
interface Document {
|
|
>Document : Document
|
|
}
|
|
interface Window {
|
|
>Window : Window
|
|
|
|
document: Document;
|
|
>document : Document
|
|
>Document : Document
|
|
}
|
|
declare var window: Window;
|
|
>window : Window
|
|
>Window : Window
|
|
|
|
module Foo {
|
|
>Foo : typeof Foo
|
|
|
|
var x = "test1";
|
|
>x : string
|
|
>"test1" : string
|
|
|
|
var y = "test 2\
|
|
>y : string
|
|
>"test 2\isn't this a lot of fun" : string
|
|
|
|
isn't this a lot of fun";
|
|
var z = window.document;
|
|
>z : Document
|
|
>window.document : Document
|
|
>window : Window
|
|
>document : Document
|
|
}
|