mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
45 lines
952 B
JSON
45 lines
952 B
JSON
// === goToDefinition ===
|
|
// === /goToDefinitionPrivateName.ts ===
|
|
// class A {
|
|
// #method() { }
|
|
// <|[|#foo|] = 3;|>
|
|
// get #prop() { return ""; }
|
|
// set #prop(value: string) { }
|
|
// constructor() {
|
|
// this./*GOTO DEF*/#foo
|
|
// this.#method
|
|
// this.#prop
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionPrivateName.ts ===
|
|
// class A {
|
|
// <|[|#method|]() { }|>
|
|
// #foo = 3;
|
|
// get #prop() { return ""; }
|
|
// set #prop(value: string) { }
|
|
// constructor() {
|
|
// this.#foo
|
|
// this./*GOTO DEF*/#method
|
|
// this.#prop
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionPrivateName.ts ===
|
|
// class A {
|
|
// #method() { }
|
|
// #foo = 3;
|
|
// <|get [|#prop|]() { return ""; }|>
|
|
// <|set [|#prop|](value: string) { }|>
|
|
// constructor() {
|
|
// this.#foo
|
|
// this.#method
|
|
// this./*GOTO DEF*/#prop
|
|
// }
|
|
// } |