22 lines
428 B
TypeScript
22 lines
428 B
TypeScript
//// [tests/cases/compiler/keepImportsInDts2.ts] ////
|
|
|
|
//// [test.ts]
|
|
|
|
export {};
|
|
//// [main.ts]
|
|
import "./folder/test"
|
|
|
|
//// [test.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
"use strict";
|
|
});
|
|
//// [main.js]
|
|
define(["require", "exports", "./folder/test"], function (require, exports) {
|
|
"use strict";
|
|
});
|
|
|
|
|
|
//// [test.d.ts]
|
|
export { };
|
|
//// [main.d.ts]
|
|
import "./folder/test";
|