mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
58 lines
1.0 KiB
Diff
58 lines
1.0 KiB
Diff
--- old.jsdocImplements_class.js
|
|
+++ new.jsdocImplements_class.js
|
|
@@= skipped -72, +72 lines =@@
|
|
/** @implements {A} */
|
|
declare class B3 implements A {
|
|
}
|
|
-declare namespace Ns {
|
|
- export { C1 };
|
|
- export let C5: {
|
|
- new (): {
|
|
- method(): number;
|
|
- };
|
|
- };
|
|
-}
|
|
+declare var Ns: {
|
|
+ /** @implements {A} */
|
|
+ C1: {
|
|
+ new (): {
|
|
+ method(): number;
|
|
+ };
|
|
+ };
|
|
+ /** @implements {A} */
|
|
+ C5: {
|
|
+ new (): {
|
|
+ method(): number;
|
|
+ };
|
|
+ };
|
|
+};
|
|
/** @implements {A} */
|
|
declare var C2: {
|
|
new (): {
|
|
method(): number;
|
|
};
|
|
};
|
|
-declare namespace o {
|
|
- export { C3 };
|
|
-}
|
|
+declare var o: {
|
|
+ /** @implements {A} */
|
|
+ C3: {
|
|
+ new (): {
|
|
+ method(): number;
|
|
+ };
|
|
+ };
|
|
+};
|
|
declare class CC {
|
|
/** @implements {A} */
|
|
C4: {
|
|
@@= skipped -26, +37 lines =@@
|
|
};
|
|
}
|
|
declare var C5: any;
|
|
-declare class C1 implements A {
|
|
- method(): number;
|
|
-}
|
|
-declare class C3 implements A {
|
|
- method(): number;
|
|
-}
|