12 lines
155 B
JavaScript
12 lines
155 B
JavaScript
|
//// [ambientGetters.ts]
|
||
|
|
||
|
declare class A {
|
||
|
get length() : number;
|
||
|
}
|
||
|
|
||
|
declare class B {
|
||
|
get length() { return 0; }
|
||
|
}
|
||
|
|
||
|
//// [ambientGetters.js]
|