A definition of module "inherits" has been added

This commit is contained in:
Ilya Mochalov
2015-11-22 22:11:05 +05:00
parent fa04c80f4a
commit fe725b81fc
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;
}