mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
A definition of module "inherits" has been added
This commit is contained in:
1 parent
fa04c80f4a
commit
fe725b81fc
2 files changed
+18
No files matched your search
@@ -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