mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
176 lines
3.4 KiB
JSON
176 lines
3.4 KiB
JSON
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
//
|
|
// export interface /*CODELENS: 3 implementations*/I {
|
|
// methodA(): void;
|
|
// }
|
|
// export interface I {
|
|
// methodB(): void;
|
|
// }
|
|
//
|
|
// interface [|J|] extends I {
|
|
// methodB(): void;
|
|
// methodC(): void;
|
|
// }
|
|
//
|
|
// class [|C|] implements J {
|
|
// methodA(): void {}
|
|
// methodB(): void {}
|
|
// methodC(): void {}
|
|
// }
|
|
//
|
|
// class [|AbstractC|] implements J {
|
|
// abstract methodA(): void;
|
|
// methodB(): void {}
|
|
// abstract methodC(): void;
|
|
// }
|
|
//
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
//
|
|
// export interface I {
|
|
// /*CODELENS: 1 implementation*/methodA(): void;
|
|
// }
|
|
// export interface I {
|
|
// methodB(): void;
|
|
// --- (line: 7) skipped ---
|
|
|
|
// --- (line: 11) skipped ---
|
|
// }
|
|
//
|
|
// class C implements J {
|
|
// [|methodA|](): void {}
|
|
// methodB(): void {}
|
|
// methodC(): void {}
|
|
// }
|
|
// --- (line: 19) skipped ---
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
//
|
|
// export interface I {
|
|
// methodA(): void;
|
|
// }
|
|
// export interface I {
|
|
// /*CODELENS: 2 implementations*/methodB(): void;
|
|
// }
|
|
//
|
|
// interface J extends I {
|
|
// methodB(): void;
|
|
// methodC(): void;
|
|
// }
|
|
//
|
|
// class C implements J {
|
|
// methodA(): void {}
|
|
// [|methodB|](): void {}
|
|
// methodC(): void {}
|
|
// }
|
|
//
|
|
// class AbstractC implements J {
|
|
// abstract methodA(): void;
|
|
// [|methodB|](): void {}
|
|
// abstract methodC(): void;
|
|
// }
|
|
//
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
// --- (line: 5) skipped ---
|
|
// methodB(): void;
|
|
// }
|
|
//
|
|
// interface /*CODELENS: 2 implementations*/J extends I {
|
|
// methodB(): void;
|
|
// methodC(): void;
|
|
// }
|
|
//
|
|
// class [|C|] implements J {
|
|
// methodA(): void {}
|
|
// methodB(): void {}
|
|
// methodC(): void {}
|
|
// }
|
|
//
|
|
// class [|AbstractC|] implements J {
|
|
// abstract methodA(): void;
|
|
// methodB(): void {}
|
|
// abstract methodC(): void;
|
|
// }
|
|
//
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
// --- (line: 6) skipped ---
|
|
// }
|
|
//
|
|
// interface J extends I {
|
|
// /*CODELENS: 2 implementations*/methodB(): void;
|
|
// methodC(): void;
|
|
// }
|
|
//
|
|
// class C implements J {
|
|
// methodA(): void {}
|
|
// [|methodB|](): void {}
|
|
// methodC(): void {}
|
|
// }
|
|
//
|
|
// class AbstractC implements J {
|
|
// abstract methodA(): void;
|
|
// [|methodB|](): void {}
|
|
// abstract methodC(): void;
|
|
// }
|
|
//
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
// --- (line: 7) skipped ---
|
|
//
|
|
// interface J extends I {
|
|
// methodB(): void;
|
|
// /*CODELENS: 1 implementation*/methodC(): void;
|
|
// }
|
|
//
|
|
// class C implements J {
|
|
// methodA(): void {}
|
|
// methodB(): void {}
|
|
// [|methodC|](): void {}
|
|
// }
|
|
//
|
|
// class AbstractC implements J {
|
|
// --- (line: 21) skipped ---
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
// --- (line: 17) skipped ---
|
|
// }
|
|
//
|
|
// class AbstractC implements J {
|
|
// abstract /*CODELENS: 0 implementations*/methodA(): void;
|
|
// methodB(): void {}
|
|
// abstract methodC(): void;
|
|
// }
|
|
//
|
|
|
|
|
|
|
|
// === Code Lenses ===
|
|
// === /codeLensReferencesShowOnInterfaceMethods=true.ts ===
|
|
// --- (line: 19) skipped ---
|
|
// class AbstractC implements J {
|
|
// abstract methodA(): void;
|
|
// methodB(): void {}
|
|
// abstract /*CODELENS: 0 implementations*/methodC(): void;
|
|
// }
|
|
// |