diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:31:11 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:31:11 +0800 |
| commit | aa773172311dcada759dfbaac485f4bc6e00bc21 (patch) | |
| tree | ca6d9a5eff3ab8f689f9acb4f0df791d9486813d /node_modules/core-js-compat/index.d.ts | |
| parent | c5a5384e846f242e901e859fe600d695d8990a9a (diff) | |
added babel
Diffstat (limited to 'node_modules/core-js-compat/index.d.ts')
| -rw-r--r-- | node_modules/core-js-compat/index.d.ts | 27 |
1 files changed, 27 insertions, 0 deletions
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 |
