Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/jsDeclarationsClassStatic(target=es2015).js.diff

37 lines
867 B
Diff

--- old.jsDeclarationsClassStatic(target=es2015).js
+++ new.jsDeclarationsClassStatic(target=es2015).js
@@= skipped -49, +49 lines =@@
//// [source.d.ts]
export = Handler;
+export { Strings };
declare class Handler {
static get OPTIONS(): number;
process(): void;
}
declare namespace Handler {
- export { statische, Strings, HandlerOptions };
-}
-declare function statische(): void;
-declare namespace Strings {
- let a: string;
- let b: string;
-}
-type HandlerOptions = {
+ var statische: () => void;
+}
+declare const Strings: {
+ a: string;
+ b: string;
+};
+export type HandlerOptions = {
/**
* Should be able to export a type alias at the same time.
*/
name: string;
};
+/**
+ * @typedef {Object} HandlerOptions
+ * @property {String} name
+ * Should be able to export a type alias at the same time.
+ */