mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
//// [tests/cases/conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty4.ts] ////
|
|
|
|
=== accessorsOverrideProperty4.ts ===
|
|
declare class Animal {
|
|
>Animal : Symbol(Animal, Decl(accessorsOverrideProperty4.ts, 0, 0))
|
|
|
|
sound: string;
|
|
>sound : Symbol(Animal.sound, Decl(accessorsOverrideProperty4.ts, 0, 22))
|
|
}
|
|
class Lion extends Animal {
|
|
>Lion : Symbol(Lion, Decl(accessorsOverrideProperty4.ts, 2, 1))
|
|
>Animal : Symbol(Animal, Decl(accessorsOverrideProperty4.ts, 0, 0))
|
|
|
|
_sound = 'roar'
|
|
>_sound : Symbol(Lion._sound, Decl(accessorsOverrideProperty4.ts, 3, 27))
|
|
|
|
get sound(): string { return this._sound }
|
|
>sound : Symbol(Lion.sound, Decl(accessorsOverrideProperty4.ts, 4, 19), Decl(accessorsOverrideProperty4.ts, 5, 46))
|
|
>this._sound : Symbol(Lion._sound, Decl(accessorsOverrideProperty4.ts, 3, 27))
|
|
>this : Symbol(Lion, Decl(accessorsOverrideProperty4.ts, 2, 1))
|
|
>_sound : Symbol(Lion._sound, Decl(accessorsOverrideProperty4.ts, 3, 27))
|
|
|
|
set sound(val: string) { this._sound = val }
|
|
>sound : Symbol(Lion.sound, Decl(accessorsOverrideProperty4.ts, 4, 19), Decl(accessorsOverrideProperty4.ts, 5, 46))
|
|
>val : Symbol(val, Decl(accessorsOverrideProperty4.ts, 6, 14))
|
|
>this._sound : Symbol(Lion._sound, Decl(accessorsOverrideProperty4.ts, 3, 27))
|
|
>this : Symbol(Lion, Decl(accessorsOverrideProperty4.ts, 2, 1))
|
|
>_sound : Symbol(Lion._sound, Decl(accessorsOverrideProperty4.ts, 3, 27))
|
|
>val : Symbol(val, Decl(accessorsOverrideProperty4.ts, 6, 14))
|
|
}
|
|
|