Change the rule of a static method invocation in order to compile with the tsc 0.9.0.0