mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
37 lines
867 B
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.
|
|
+ */
|