mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
37 lines
850 B
Diff
37 lines
850 B
Diff
--- old.jsDeclarationsFunctionJSDoc(target=es2015).js
|
|
+++ new.jsDeclarationsFunctionJSDoc(target=es2015).js
|
|
@@= skipped -81, +81 lines =@@
|
|
* @param {number} a
|
|
* @param {string} b
|
|
*/
|
|
-export function foo(a: number, b: string): void;
|
|
+export declare function foo(a: number, b: string): void;
|
|
/**
|
|
* Legacy - DO NOT USE
|
|
*/
|
|
-export class Aleph {
|
|
+export declare class Aleph {
|
|
+ /**
|
|
+ * Field is always null
|
|
+ */
|
|
+ field: any;
|
|
/**
|
|
* Impossible to construct.
|
|
* @param {Aleph} a
|
|
@@= skipped -12, +16 lines =@@
|
|
*/
|
|
constructor(a: Aleph, b: null);
|
|
/**
|
|
- * Field is always null
|
|
- */
|
|
- field: any;
|
|
- /**
|
|
* Doesn't actually do anything
|
|
* @returns {void}
|
|
*/
|
|
@@= skipped -12, +8 lines =@@
|
|
/**
|
|
* Not the speed of light
|
|
*/
|
|
-export const c: 12;
|
|
+export declare const c = 12;
|