UNPKG

typescript-assistant

Version:

Combines and integrates professional Typescript tools into your project

10 lines (7 loc) 236 B
import { resolve } from 'path'; export let absolutePath = (path: string) => { return resolve(process.cwd(), path); }; export let isTypescriptFile = (fileName: string) => { return fileName.substr(fileName.length - 3) === '.ts'; };