mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
464 B
Diff
17 lines
464 B
Diff
--- old.callbackOnConstructor.js
|
|
+++ new.callbackOnConstructor.js
|
|
@@= skipped -31, +31 lines =@@
|
|
|
|
|
|
//// [callbackOnConstructor.d.ts]
|
|
-export class Preferences {
|
|
+export type ValueGetter_2 = (name: string) => boolean | number | string | undefined;
|
|
+export declare class Preferences {
|
|
assignability: string;
|
|
+ /**
|
|
+ * @callback ValueGetter_2
|
|
+ * @param {string} name
|
|
+ * @returns {boolean|number|string|undefined}
|
|
+ */
|
|
+ constructor();
|
|
}
|