2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/copyrightWithNewLine1.ts(5,24): error TS2307: Cannot find external module './greeter'.
|
|
|
|
tests/cases/compiler/copyrightWithNewLine1.ts(6,10): error TS2304: Cannot find name 'document'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/copyrightWithNewLine1.ts (2 errors) ====
|
|
|
|
/*****************************
|
|
|
|
* (c) Copyright - Important
|
|
|
|
****************************/
|
|
|
|
|
|
|
|
import model = require("./greeter")
|
|
|
|
~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2307: Cannot find external module './greeter'.
|
2014-07-13 01:04:16 +02:00
|
|
|
var el = document.getElementById('content');
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'document'.
|
2014-07-13 01:04:16 +02:00
|
|
|
var greeter = new model.Greeter(el);
|
|
|
|
/** things */
|
|
|
|
greeter.start();
|