mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Use function expressions when referring to 'arguments'.
This commit is contained in:
@@ -75,7 +75,7 @@ false
|
||||
false.should.be.false;
|
||||
(0).should.not.be.false;
|
||||
|
||||
var args = (a: string, b: string, c: string) => { return arguments; };
|
||||
var args = function (a: string, b: string, c: string) { return arguments; };
|
||||
args.should.be.arguments;
|
||||
['a'].should.not.be.arguments;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user