mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
682 B
Diff
29 lines
682 B
Diff
--- old.jsDeclarationsExportedClassAliases.js
|
|
+++ new.jsDeclarationsExportedClassAliases.js
|
|
@@= skipped -38, +38 lines =@@
|
|
|
|
|
|
//// [errors.d.ts]
|
|
-export class FancyError extends Error {
|
|
+declare const _exports: {
|
|
+ FancyError: typeof FancyError;
|
|
+};
|
|
+export = _exports;
|
|
+declare class FancyError extends Error {
|
|
constructor(status: any);
|
|
}
|
|
//// [index.d.ts]
|
|
-export { errors };
|
|
-import errors = require("./errors");
|
|
+declare const _exports: {
|
|
+ errors: {
|
|
+ FancyError: {
|
|
+ new (status: any): {
|
|
+ name: string;
|
|
+ message: string;
|
|
+ stack?: string;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+export = _exports;
|