17 lines
319 B
TypeScript
17 lines
319 B
TypeScript
declare var ooo:any;
|
|
|
|
with (ooo.eee.oo.ah_ah.ting.tang.walla.walla) { // error
|
|
bing = true; // no error
|
|
bang = true; // no error
|
|
|
|
function bar() {} // no error
|
|
|
|
bar(); // no error
|
|
|
|
class C {} // error
|
|
|
|
interface I {} // error
|
|
|
|
module M {} // error
|
|
|
|
}
|