UNPKG

@levimc-lse/scaffold

Version:

A utility for assisting in the development of Legacy Script Engine plugins.

20 lines (19 loc) 694 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TypeScriptConfigurationFileNotFoundError = void 0; class TypeScriptConfigurationFileNotFoundError extends Error { constructor(fileDirectory) { const message = `Could not find tsconfig.json in ${fileDirectory}.`; super(message); this.msg = message; } getMessage() { return this.msg; } getSuggestion() { const suggestion = new Array(); suggestion.push("Try `npx tsc --init` to initialize the TypeScript project."); return suggestion; } } exports.TypeScriptConfigurationFileNotFoundError = TypeScriptConfigurationFileNotFoundError;