17 lines
351 B
TypeScript
17 lines
351 B
TypeScript
|
var _super = 10; // No Error
|
||
|
class Foo {
|
||
|
public prop1 = {
|
||
|
doStuff: () => {
|
||
|
var _super = 10; // No error
|
||
|
}
|
||
|
}
|
||
|
public _super = 10; // No error
|
||
|
}
|
||
|
class b extends Foo {
|
||
|
public prop2 = {
|
||
|
doStuff: () => {
|
||
|
var _super = 10; // Should be error
|
||
|
}
|
||
|
}
|
||
|
public _super = 10; // No error
|
||
|
}
|