From aa773172311dcada759dfbaac485f4bc6e00bc21 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 15:31:11 +0800 Subject: added babel --- node_modules/core-js-compat/index.d.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 node_modules/core-js-compat/index.d.ts (limited to 'node_modules/core-js-compat/index.d.ts') diff --git a/node_modules/core-js-compat/index.d.ts b/node_modules/core-js-compat/index.d.ts new file mode 100644 index 00000000..b350d6a3 --- /dev/null +++ b/node_modules/core-js-compat/index.d.ts @@ -0,0 +1,27 @@ +import type compat from './compat' +import type getModulesListForTargetVersion from './get-modules-list-for-target-version'; +import type { ModuleName, Target, TargetVersion } from './shared' + +type CompatData = { + [module: ModuleName]: { + [target in Target]?: TargetVersion + } +}; + +declare const ExportedCompatObject: typeof compat & { + compat: typeof compat, + + /** The subset of modules which available in the passed `core-js` version */ + getModulesListForTargetVersion: typeof getModulesListForTargetVersion, + + /** Full list compatibility data */ + data: CompatData, + + /** map of modules by `core-js` entry points */ + entries: {[entry_point: string]: readonly ModuleName[]}, + + /** Full list of modules */ + modules: readonly ModuleName[] +} + +export = ExportedCompatObject -- cgit v1.2.3