TypeScript Version: 2.3.2
Code
export interface A {
a: boolean,
b: number,
c: string
}
Expected behavior:
It is not expected to be transpiled to JS code in any way if it is the only thing that is exported
Actual behavior:
It is transpiled to an empty module, like this for example:
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
;
});
TypeScript Version: 2.3.2
Code
Expected behavior:
It is not expected to be transpiled to JS code in any way if it is the only thing that is exported
Actual behavior:
It is transpiled to an empty module, like this for example: