21 lines
294 B
Text
21 lines
294 B
Text
|
=== tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyAndFunctionWithSameName.ts ===
|
||
|
class C {
|
||
|
>C : C
|
||
|
|
||
|
static f: number;
|
||
|
>f : number
|
||
|
|
||
|
f: number;
|
||
|
>f : number
|
||
|
}
|
||
|
|
||
|
class D {
|
||
|
>D : D
|
||
|
|
||
|
static f: number;
|
||
|
>f : number
|
||
|
|
||
|
f() { }
|
||
|
>f : () => void
|
||
|
}
|