Merge pull request #6889 from chrootsu/inherits

A definition of module "inherits" has been added
This commit is contained in:
Horiuchi_H
2015-11-26 16:14:45 +09:00
2 changed files with 18 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="./inherits.d.ts" />
import inherits = require('inherits');
let any: any;
inherits(any, any);
+11
View File
@@ -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;
}