Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/jsDeclarationsExportedClassAliases.js.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;