* new_tests * move_all_clobbered_tests * remove all the tests that no longer exist * re-run flow tests * Move all the flow tests to tests/flow and prettier to tests/ * Move prettier tests to their own folders * Add jsfmt files * run prettier snapshot tests
22 lines
401 B
JavaScript
22 lines
401 B
JavaScript
/**
|
|
* @providesModule CommonJS_Clobbering_Class
|
|
* @flow
|
|
*/
|
|
|
|
class Base {
|
|
static baseProp: number;
|
|
}
|
|
|
|
class Test extends Base {
|
|
static childProp: number;
|
|
|
|
static staticNumber1():number { return 1; }
|
|
static staticNumber2():number { return 2; }
|
|
static staticNumber3():number { return 3; }
|
|
|
|
instNumber1():number { return 1; }
|
|
instNumber2():number { return 2; }
|
|
};
|
|
|
|
module.exports = Test;
|