mbraude / TeddyMocks

A simple mock framework for Javascript, written in and optimized for TypeScript development
8 stars 3 forks source link

Errors when compiling TeddyMocks.ts #3

Open Waog opened 9 years ago

Waog commented 9 years ago

When executing the typescript compiler to TeddyMocks.ts I get the following errors:

>> test/spec/TeddyMocks/TeddyMocks.ts(160,70): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
>> test/spec/TeddyMocks/TeddyMocks.ts(177,40): error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.
>> test/spec/TeddyMocks/TeddyMocks.ts(214,41): error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.
>> test/spec/TeddyMocks/TeddyMocks.ts(297,27): error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.
>> test/spec/TeddyMocks/TeddyMocks.ts(313,23): error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.
>> test/spec/TeddyMocks/TeddyMocks.ts(317,31): error TS1210: Invalid use of 'arguments'. Class definitions are automatically in strict mode.