UNPKG

typescript-assistant

Version:

Combines and integrates professional Typescript tools into your project

12 lines 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.absolutePath = absolutePath; exports.isTypescriptFile = isTypescriptFile; const path_1 = require("path"); function absolutePath(path) { return (0, path_1.resolve)(process.cwd(), path); } function isTypescriptFile(fileName) { return fileName.substr(fileName.length - 3) === ".ts"; } //# sourceMappingURL=util.js.map