UNPKG

299 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.appendTsExtension = void 0;
4const path_1 = require("path");
5function appendTsExtension(path) {
6 return (0, path_1.extname)(path) === '.ts' ? path : path + '.ts';
7}
8exports.appendTsExtension = appendTsExtension;