11 lines
257 B
TypeScript
11 lines
257 B
TypeScript
|
// @noEmit: true
|
||
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @Filename: decls.d.ts
|
||
|
declare function factory(type: string): {};
|
||
|
// @Filename: a.js
|
||
|
|
||
|
// from util
|
||
|
/** @param {function} ctor - A big long explanation follows */
|
||
|
exports.inherits = factory('inherits')
|