An enhanced TypeScript compiler (v3.1.5) built on top of tsc 3.1.3, adding features like accessor optimization, class reflection metadata emission, conditional compilation via defines, and automatic file reordering based on dependency analysis. Primarily maintained as part of the Egret Engine ecosystem. Releases track upstream TypeScript versions but lag behind, with current stable based on 3.1.3. Use this if you need its extra features, but be aware of possible incompatibility with standard TypeScript tooling and potential build issues due to non-standard compiler behavior. Not recommended for general-purpose projects unless you depend on Egret or its specific enhancements.
npm install typescript-plusNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows tsconfig.json with extra options and both CLI and programmatic compilation using typescript-plus.
Use official TypeScript for modern code; typescript-plus is intended for Egret Engine compatibility.
Set 'reorderFiles' to false if your code depends on file order, or ensure no side effects in modules.
Use 'var DEBUG = true;' in source code and define in tsconfig as 'defines: { DEBUG: false }'.Consider migrating to official TypeScript and isolate Egret-specific features if needed.
Audit your lockfile and consider npm audit fix; if not used in production, this may be low priority.
Only use 'emitReflection' if your runtime (e.g., Egret) explicitly supports the output format.
Run 'npx tsc-plus' instead of 'npx tsc'.
Run 'npm install typescript-plus' and use 'import * as ts from "typescript-plus"' (ESM) or 'const ts = require("typescript-plus")' (CJS).Change import to 'import { createProgram } from "typescript-plus"'.Ensure the variable is declared as 'var DEBUG = true;' at global scope, not 'const' or 'let'.
Install typescript as a peer dependency: 'npm install typescript@3.1.3'.
No dependency data recorded yet.