TypeScript/tests/cases/compiler/dynamicModuleTypecheckError.ts
2014-07-12 17:30:19 -07:00

9 lines
133 B
TypeScript

//@module: commonjs
export var x = 1;
for(var i = 0; i < 30; i++) {
x = i * 1000; // should not be an error here
}