19 lines
269 B
Text
19 lines
269 B
Text
|
=== tests/cases/compiler/properties.ts ===
|
||
|
|
||
|
class MyClass
|
||
|
>MyClass : MyClass
|
||
|
{
|
||
|
public get Count(): number
|
||
|
>Count : number
|
||
|
{
|
||
|
return 42;
|
||
|
}
|
||
|
|
||
|
public set Count(value: number)
|
||
|
>Count : number
|
||
|
>value : number
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|