mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Accepting new baselines
This commit is contained in:
parent
4c5aeaf0c9
commit
477189dbb9
@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/separateCompilationPlainFile-AMD.ts(2,1): error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
tests/cases/compiler/separateCompilationPlainFile-AMD.ts(2,1): error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
|
||||
|
||||
==== tests/cases/compiler/separateCompilationPlainFile-AMD.ts (1 errors) ====
|
||||
|
||||
declare function run(a: number): void;
|
||||
~~~~~~~
|
||||
!!! error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
!!! error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
run(1);
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/separateCompilationPlainFile-CommonJS.ts(2,1): error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
tests/cases/compiler/separateCompilationPlainFile-CommonJS.ts(2,1): error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
|
||||
|
||||
==== tests/cases/compiler/separateCompilationPlainFile-CommonJS.ts (1 errors) ====
|
||||
|
||||
declare function run(a: number): void;
|
||||
~~~~~~~
|
||||
!!! error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
!!! error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
run(1);
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/separateCompilationPlainFile-ES6.ts(2,1): error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
tests/cases/compiler/separateCompilationPlainFile-ES6.ts(2,1): error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
|
||||
|
||||
==== tests/cases/compiler/separateCompilationPlainFile-ES6.ts (1 errors) ====
|
||||
|
||||
declare function run(a: number): void;
|
||||
~~~~~~~
|
||||
!!! error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
!!! error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
run(1);
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/separateCompilationPlainFile-System.ts(2,1): error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
tests/cases/compiler/separateCompilationPlainFile-System.ts(2,1): error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
|
||||
|
||||
==== tests/cases/compiler/separateCompilationPlainFile-System.ts (1 errors) ====
|
||||
|
||||
declare function run(a: number): void;
|
||||
~~~~~~~
|
||||
!!! error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
!!! error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
run(1);
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/separateCompilationPlainFile-UMD.ts(2,1): error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
tests/cases/compiler/separateCompilationPlainFile-UMD.ts(2,1): error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
|
||||
|
||||
==== tests/cases/compiler/separateCompilationPlainFile-UMD.ts (1 errors) ====
|
||||
|
||||
declare function run(a: number): void;
|
||||
~~~~~~~
|
||||
!!! error TS1208: Cannot compile non-external modules when the '--separateCompilation' flag is provided.
|
||||
!!! error TS1208: Cannot compile namespaces when the '--separateCompilation' flag is provided.
|
||||
run(1);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
error TS1204: Cannot compile external modules into 'commonjs', 'amd', 'system' or 'umd' when targeting 'ES6' or higher.
|
||||
error TS1204: Cannot compile modules into 'commonjs', 'amd', 'system' or 'umd' when targeting 'ES6' or higher.
|
||||
|
||||
|
||||
!!! error TS1204: Cannot compile external modules into 'commonjs', 'amd', 'system' or 'umd' when targeting 'ES6' or higher.
|
||||
!!! error TS1204: Cannot compile modules into 'commonjs', 'amd', 'system' or 'umd' when targeting 'ES6' or higher.
|
||||
==== tests/cases/compiler/systemModule1.ts (0 errors) ====
|
||||
|
||||
export var x = 1;
|
||||
@ -1,15 +1,15 @@
|
||||
tests/cases/compiler/systemModule10.ts(2,20): error TS2307: Cannot find external module 'file1'.
|
||||
tests/cases/compiler/systemModule10.ts(3,21): error TS2307: Cannot find external module 'file2'.
|
||||
tests/cases/compiler/systemModule10.ts(2,20): error TS2307: Cannot find module 'file1'.
|
||||
tests/cases/compiler/systemModule10.ts(3,21): error TS2307: Cannot find module 'file2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/systemModule10.ts (2 errors) ====
|
||||
|
||||
import n, {x} from 'file1'
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file1'.
|
||||
!!! error TS2307: Cannot find module 'file1'.
|
||||
import n2 = require('file2');
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file2'.
|
||||
!!! error TS2307: Cannot find module 'file2'.
|
||||
export {x}
|
||||
export {x as y}
|
||||
export {n}
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
tests/cases/compiler/systemModule10_ES5.ts(2,20): error TS2307: Cannot find external module 'file1'.
|
||||
tests/cases/compiler/systemModule10_ES5.ts(3,21): error TS2307: Cannot find external module 'file2'.
|
||||
tests/cases/compiler/systemModule10_ES5.ts(2,20): error TS2307: Cannot find module 'file1'.
|
||||
tests/cases/compiler/systemModule10_ES5.ts(3,21): error TS2307: Cannot find module 'file2'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/systemModule10_ES5.ts (2 errors) ====
|
||||
|
||||
import n, {x} from 'file1'
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file1'.
|
||||
!!! error TS2307: Cannot find module 'file1'.
|
||||
import n2 = require('file2');
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file2'.
|
||||
!!! error TS2307: Cannot find module 'file2'.
|
||||
export {x}
|
||||
export {x as y}
|
||||
export {n}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
tests/cases/compiler/systemModule11.ts(3,17): error TS2307: Cannot find external module 'bar'.
|
||||
tests/cases/compiler/systemModule11.ts(3,17): error TS2307: Cannot find module 'bar'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/systemModule11.ts (1 errors) ====
|
||||
@ -6,6 +6,6 @@ tests/cases/compiler/systemModule11.ts(3,17): error TS2307: Cannot find external
|
||||
import 'foo'
|
||||
import {f} from 'bar';
|
||||
~~~~~
|
||||
!!! error TS2307: Cannot find external module 'bar'.
|
||||
!!! error TS2307: Cannot find module 'bar'.
|
||||
|
||||
f();
|
||||
@ -1,29 +1,29 @@
|
||||
tests/cases/compiler/systemModule9.ts(2,21): error TS2307: Cannot find external module 'file1'.
|
||||
tests/cases/compiler/systemModule9.ts(3,25): error TS2307: Cannot find external module 'file2'.
|
||||
tests/cases/compiler/systemModule9.ts(4,15): error TS2307: Cannot find external module 'file3'.
|
||||
tests/cases/compiler/systemModule9.ts(6,25): error TS2307: Cannot find external module 'file5'.
|
||||
tests/cases/compiler/systemModule9.ts(7,22): error TS2307: Cannot find external module 'file6'.
|
||||
tests/cases/compiler/systemModule9.ts(17,15): error TS2307: Cannot find external module 'file7'.
|
||||
tests/cases/compiler/systemModule9.ts(2,21): error TS2307: Cannot find module 'file1'.
|
||||
tests/cases/compiler/systemModule9.ts(3,25): error TS2307: Cannot find module 'file2'.
|
||||
tests/cases/compiler/systemModule9.ts(4,15): error TS2307: Cannot find module 'file3'.
|
||||
tests/cases/compiler/systemModule9.ts(6,25): error TS2307: Cannot find module 'file5'.
|
||||
tests/cases/compiler/systemModule9.ts(7,22): error TS2307: Cannot find module 'file6'.
|
||||
tests/cases/compiler/systemModule9.ts(17,15): error TS2307: Cannot find module 'file7'.
|
||||
|
||||
|
||||
==== tests/cases/compiler/systemModule9.ts (6 errors) ====
|
||||
|
||||
import * as ns from 'file1';
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file1'.
|
||||
!!! error TS2307: Cannot find module 'file1'.
|
||||
import {a, b as c} from 'file2';
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file2'.
|
||||
!!! error TS2307: Cannot find module 'file2'.
|
||||
import d from 'file3'
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file3'.
|
||||
!!! error TS2307: Cannot find module 'file3'.
|
||||
import 'file4'
|
||||
import e, * as ns2 from 'file5';
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file5'.
|
||||
!!! error TS2307: Cannot find module 'file5'.
|
||||
import ns3 = require('file6');
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file6'.
|
||||
!!! error TS2307: Cannot find module 'file6'.
|
||||
|
||||
ns.f();
|
||||
a();
|
||||
@ -35,7 +35,7 @@ tests/cases/compiler/systemModule9.ts(17,15): error TS2307: Cannot find external
|
||||
|
||||
export * from 'file7';
|
||||
~~~~~~~
|
||||
!!! error TS2307: Cannot find external module 'file7'.
|
||||
!!! error TS2307: Cannot find module 'file7'.
|
||||
|
||||
var x, y = true;
|
||||
export {x};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user