Added module: none baseline
This commit is contained in:
parent
195e69c889
commit
d446d06f96
10
tests/baselines/reference/moduleNoneErrors.errors.txt
Normal file
10
tests/baselines/reference/moduleNoneErrors.errors.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
tests/cases/compiler/a.ts(1,14): error TS1148: Cannot compile modules unless the '--module' flag is provided with a valid module type. Consider setting the 'module' compiler option in a 'tsconfig.json' file.
|
||||
|
||||
|
||||
==== tests/cases/compiler/a.ts (1 errors) ====
|
||||
export class Foo {
|
||||
~~~
|
||||
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided with a valid module type. Consider setting the 'module' compiler option in a 'tsconfig.json' file.
|
||||
foo: string;
|
||||
}
|
||||
|
14
tests/baselines/reference/moduleNoneErrors.js
Normal file
14
tests/baselines/reference/moduleNoneErrors.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
//// [a.ts]
|
||||
export class Foo {
|
||||
foo: string;
|
||||
}
|
||||
|
||||
|
||||
//// [a.js]
|
||||
"use strict";
|
||||
var Foo = (function () {
|
||||
function Foo() {
|
||||
}
|
||||
return Foo;
|
||||
}());
|
||||
exports.Foo = Foo;
|
5
tests/cases/compiler/moduleNoneErrors.ts
Normal file
5
tests/cases/compiler/moduleNoneErrors.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
// @module: none
|
||||
// @Filename: a.ts
|
||||
export class Foo {
|
||||
foo: string;
|
||||
}
|
Loading…
Reference in a new issue