mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
966 B
Plaintext
25 lines
966 B
Plaintext
//// [tests/cases/compiler/copyrightWithoutNewLine1.ts] ////
|
|
|
|
=== copyrightWithoutNewLine1.ts ===
|
|
/*****************************
|
|
* (c) Copyright - Important
|
|
****************************/
|
|
import model = require("./greeter")
|
|
>model : Symbol(model, Decl(copyrightWithoutNewLine1.ts, 0, 0))
|
|
|
|
var el = document.getElementById('content');
|
|
>el : Symbol(el, Decl(copyrightWithoutNewLine1.ts, 4, 3))
|
|
>document.getElementById : Symbol(Document.getElementById, Decl(lib.dom.d.ts, --, --))
|
|
>document : Symbol(document, Decl(lib.dom.d.ts, --, --))
|
|
>getElementById : Symbol(Document.getElementById, Decl(lib.dom.d.ts, --, --))
|
|
|
|
var greeter = new model.Greeter(el);
|
|
>greeter : Symbol(greeter, Decl(copyrightWithoutNewLine1.ts, 5, 3))
|
|
>model : Symbol(model, Decl(copyrightWithoutNewLine1.ts, 0, 0))
|
|
>el : Symbol(el, Decl(copyrightWithoutNewLine1.ts, 4, 3))
|
|
|
|
/** things */
|
|
greeter.start();
|
|
>greeter : Symbol(greeter, Decl(copyrightWithoutNewLine1.ts, 5, 3))
|
|
|