UNPKG

655 BTypeScriptView Raw
1import type { ProjectInfo } from './project-info';
2export declare const TYPES_COMPAT = ".types-compat";
3/**
4 * Produces down-leveled declaration files to ensure compatibility with previous
5 * compiler releases (macthing TypeScript's `major.minor` versioning scheme).
6 * This is necessary in order to ensure a package change compiler release lines
7 * does not force all it's consumers to do the same (and vice-versa).
8 *
9 * @returns the `typesVersions` object that should be recorded in `package.json`
10 */
11export declare function emitDownleveledDeclarations({ packageJson, projectRoot, tsc }: ProjectInfo): void;
12//# sourceMappingURL=downlevel-dts.d.ts.map
\No newline at end of file