This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Extending lib.d.ts classes like Error is broken when name is aliased #81
Closed
Description
/**
* Base class for custom error objects.
* @param {*=} opt_msg The message associated with the error.
* @constructor
* @extends {Error}
*/
goog.debug.Error = function(opt_msg) {...}
outputs
declare namespace ಠ_ಠ.cl2dts_internal.goog.debug {
class Error extends Error { ... }
}
which makes TS sad.
Metadata
Metadata
Assignees
Labels
No labels