A base TSConfig for working with Node 14.
84
A utility that helps developers set up TypeScript configurations for different Node.js environments by creating properly configured tsconfig.json files.
@generates
/**
* Generates a tsconfig.json file that extends from a base configuration
* for a specific Node.js version.
*
* @param targetPath - The directory path where tsconfig.json will be created
* @param nodeVersion - The Node.js version (e.g., "16", "20")
* @returns Promise that resolves when the file is written
*/
export function generateConfig(targetPath: string, nodeVersion: string): Promise<void>;
/**
* Validates whether a tsconfig.json file properly extends from a base configuration.
*
* @param configPath - The path to the tsconfig.json file to validate
* @returns Promise that resolves to true if valid, false otherwise
*/
export function validateConfig(configPath: string): Promise<boolean>;Provides base TypeScript configuration for Node.js 16 environments.
@satisfied-by
Provides base TypeScript configuration for Node.js 20 environments.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-tsconfig--node14docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10