mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
601 B
Diff
21 lines
601 B
Diff
--- old.jsDeclarationsUniqueSymbolUsage.js
|
|
+++ new.jsDeclarationsUniqueSymbolUsage.js
|
|
@@= skipped -18, +18 lines =@@
|
|
|
|
|
|
//// [a.d.ts]
|
|
-export const kSymbol: unique symbol;
|
|
+export declare const kSymbol: unique symbol;
|
|
export type WithSymbol = {
|
|
[kSymbol]: true;
|
|
};
|
|
+/**
|
|
+ * @typedef {{[kSymbol]: true}} WithSymbol
|
|
+ */
|
|
//// [b.d.ts]
|
|
/**
|
|
* @returns {import('./a').WithSymbol}
|
|
* @param {import('./a').WithSymbol} value
|
|
*/
|
|
-export function b(value: import("./a").WithSymbol): import("./a").WithSymbol;
|
|
+export declare function b(value: import('./a').WithSymbol): import('./a').WithSymbol;
|