Sha256: ac33cdc80df487d154ad9bc3ff31333416e9ecb040c25036fa69da49c0aee476

Contents?: true

Size: 602 Bytes

Versions: 6

Compression:

Stored size: 602 Bytes

Contents

declare module "module" {
    import { URL } from "url";
    interface Module extends NodeJS.Module {}
    class Module {
        static runMain(): void;
        static wrap(code: string): string;

        /**
         * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
         */
        static createRequireFromPath(path: string): NodeJS.Require;
        static createRequire(path: string | URL): NodeJS.Require;
        static builtinModules: string[];

        static Module: typeof Module;

        constructor(id: string, parent?: Module);
    }
    export = Module;
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
condenser-0.2 lib/condenser/processors/node_modules/@types/node/module.d.ts
condenser-0.1 lib/condenser/processors/node_modules/@types/node/module.d.ts
condenser-0.0.12 lib/condenser/processors/node_modules/@types/node/module.d.ts
condenser-0.0.11 lib/condenser/processors/node_modules/@types/node/module.d.ts
condenser-0.0.10 lib/condenser/processors/node_modules/@types/node/module.d.ts
condenser-0.0.9 lib/condenser/processors/node_modules/@types/node/module.d.ts