@types/babel__register
TypeScript definitions for @babel/register
Last updated 3 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/babel__register 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/babel__register

Summary

This package contains type definitions for @babel/register (https://github.com/babel/babel/tree/main/packages/babel-register).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__register.

index.d.ts

import { TransformOptions } from "@babel/core";

interface RegisterOptions extends TransformOptions {
    /**
     * Setting this will remove the currently hooked extensions of `.es6`, `.es`,
     * `.jsx`, `.mjs` and `.js` so you'll have to add them back if you want them
     * to be used again.
     */
    extensions?: string[];
    /**
     * Setting this to false will disable the cache.
     */
    cache?: boolean;
}

declare function register(opts?: RegisterOptions): void;
declare namespace register {
    export { register as default, RegisterOptions };
}
export = register;

Additional Details

Credits

These definitions were written by Paul Sanchez.

Current Tags

  • 7.17.3                                ...           latest (2 years ago)
  • 7.17.0                                ...           ts4.1 (4 years ago)
  • 7.17.0                                ...           ts4.2 (4 years ago)
  • 7.17.0                                ...           ts4.3 (4 years ago)
  • 7.17.0                                ...           ts4.4 (4 years ago)
  • 7.17.3                                ...           ts4.5 (2 years ago)
  • 7.17.3                                ...           ts4.6 (2 years ago)
  • 7.17.3                                ...           ts4.7 (2 years ago)
  • 7.17.3                                ...           ts4.8 (2 years ago)
  • 7.17.3                                ...           ts4.9 (2 years ago)
  • 7.17.3                                ...           ts5.0 (2 years ago)
  • 7.17.3                                ...           ts5.1 (2 years ago)
  • 7.17.3                                ...           ts5.2 (2 years ago)
  • 7.17.3                                ...           ts5.3 (2 years ago)
  • 7.17.3                                ...           ts5.4 (2 years ago)
  • 7.17.3                                ...           ts5.5 (2 years ago)

4 Versions

  • 7.17.3                                ...           2 years ago
  • 7.17.2                                ...           2 years ago
  • 7.17.1                                ...           3 years ago
  • 7.17.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |