File tree Expand file tree Collapse file tree 2 files changed +1
-28
lines changed
tests/baselines/reference Expand file tree Collapse file tree 2 files changed +1
-28
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ class CompilerBaselineRunner extends RunnerBase {
246
246
var declFile = ts . forEach ( result . declFilesCode ,
247
247
declFile => declFile . fileName === ( file . unitName . substr ( 0 , file . unitName . length - ".ts" . length ) + ".d.ts" )
248
248
? declFile : undefined ) ;
249
- return { unitName : rootDir + Harness . Path . getFileName ( declFile . fileName ) , content : declFile . code } ;
249
+ return { unitName : declFile . fileName , content : declFile . code } ;
250
250
}
251
251
}
252
252
Original file line number Diff line number Diff line change @@ -61,30 +61,3 @@ export = Math;
61
61
//// [Drawing.d.ts]
62
62
export import Math = require ( 'Math/Math' ) ;
63
63
//// [consumer.d.ts]
64
-
65
-
66
- //// [DtsFileErrors]
67
-
68
-
69
- = === tests / cases / compiler / consumer . d . ts ( 0 errors ) === =
70
-
71
- === = tests / cases / compiler / Drawing . d . ts ( 1 errors ) === =
72
- export import Math = require ( 'Math/Math' ) ;
73
- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
74
- ! ! ! Cannot find external module 'Math/Math' .
75
-
76
- = === tests / cases / compiler / Math . d . ts ( 1 errors ) === =
77
- import Adder = require ( 'Math/Adder' ) ;
78
- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
79
- ! ! ! Cannot find external module 'Math/Adder' .
80
- declare var Math : {
81
- Adder : typeof Adder ;
82
- } ;
83
- export = Math ;
84
-
85
- = === tests / cases / compiler / Adder . d . ts ( 0 errors ) === =
86
- declare class Adder {
87
- add ( a : number , b : number ) : void ;
88
- }
89
- export = Adder ;
90
-
You can’t perform that action at this time.
0 commit comments