diff --git a/backgrid/backgrid.d.ts.tscparams b/backgrid/backgrid.d.ts.tscparams index d3f5a12fa..aa5e71c8a 100644 --- a/backgrid/backgrid.d.ts.tscparams +++ b/backgrid/backgrid.d.ts.tscparams @@ -1 +1 @@ - +--target es5 diff --git a/node-git/node-git-tests.ts b/node-git/node-git-tests.ts index f1e5e969b..0924bedb9 100644 --- a/node-git/node-git-tests.ts +++ b/node-git/node-git-tests.ts @@ -3,7 +3,7 @@ import base = require("git"); var git = new base.Git("../.git"); -git.call_git("", "clone", "", {}, ["https://github.com/borisyankov/DefinitelyTyped.git", "d.ts"], (err, data) => { +git.call_git("", "clone", "", {}, ["https://github.com/borisyankov/DefinitelyTyped.git", "d.ts"], function (err, data) { console.log(arguments); }); diff --git a/should/should-tests.ts b/should/should-tests.ts index fafb1d7c7..c940f7c13 100644 --- a/should/should-tests.ts +++ b/should/should-tests.ts @@ -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; diff --git a/simple-cw-node/simple-cw-node-tests.ts b/simple-cw-node/simple-cw-node-tests.ts index a46eb42c9..d25cc0399 100644 --- a/simple-cw-node/simple-cw-node-tests.ts +++ b/simple-cw-node/simple-cw-node-tests.ts @@ -10,7 +10,7 @@ var Deferred:any = client.Deferred; client.init({ token: 'YOUR_TOKEN' }); // get your info. -client.get('me', (err, res) => { +client.get('me', function (err, res) { console.log(arguments); });