mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #6889 from chrootsu/inherits
A definition of module "inherits" has been added
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/// <reference path="./inherits.d.ts" />
|
||||
|
||||
import inherits = require('inherits');
|
||||
|
||||
let any: any;
|
||||
|
||||
inherits(any, any);
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// Type definitions for inherits
|
||||
// Project: https://github.com/isaacs/inherits
|
||||
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module "inherits" {
|
||||
import {inherits} from "util";
|
||||
export = inherits;
|
||||
}
|
||||
Reference in New Issue
Block a user