UNPKG

typescript-assistant

Version:

Combines and integrates professional Typescript tools into your project

10 lines (7 loc) 249 B
import { resolve } from "path"; export function absolutePath(path: string): string { return resolve(process.cwd(), path); } export function isTypescriptFile(fileName: string): boolean { return fileName.substr(fileName.length - 3) === ".ts"; }