Files
test-repo/tests/flow/es6modules/CommonJS_Clobbering_Class.js
T
Christopher Chedeau 3375cfe605 Move tests around (#454)
* 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
2017-01-24 14:35:37 -08:00

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;