typescript-assistant
Version:
Combines and integrates professional Typescript tools into your project
13 lines • 465 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isTypescriptFile = exports.absolutePath = void 0;
const path_1 = require("path");
function absolutePath(path) {
return (0, path_1.resolve)(process.cwd(), path);
}
exports.absolutePath = absolutePath;
function isTypescriptFile(fileName) {
return fileName.substr(fileName.length - 3) === ".ts";
}
exports.isTypescriptFile = isTypescriptFile;
//# sourceMappingURL=util.js.map