Upgrade to ts2.5.3-insiders (#2842)
parent
3703cb5b07
commit
f77e471b0c
|
@ -40,7 +40,7 @@
|
||||||
"postcss-selector-parser": "2.2.3",
|
"postcss-selector-parser": "2.2.3",
|
||||||
"postcss-values-parser": "git://github.com/lydell/postcss-values-parser.git#af2c80b2bb558a6e7d61540d97f068f9fa162b38",
|
"postcss-values-parser": "git://github.com/lydell/postcss-values-parser.git#af2c80b2bb558a6e7d61540d97f068f9fa162b38",
|
||||||
"strip-bom": "3.0.0",
|
"strip-bom": "3.0.0",
|
||||||
"typescript": "2.5.1",
|
"typescript": "2.5.3",
|
||||||
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#9c71a627da36e97da52ed2731d58509c952b67ae"
|
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#9c71a627da36e97da52ed2731d58509c952b67ae"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`arrow_regression.js 1`] = `
|
||||||
|
const bar = (...varargs:any[]) => {
|
||||||
|
console.log(varargs);
|
||||||
|
};
|
||||||
|
|
||||||
|
const foo = (x:string):void => (
|
||||||
|
bar(
|
||||||
|
x,
|
||||||
|
() => {},
|
||||||
|
() => {}
|
||||||
|
)
|
||||||
|
);
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
const bar = (...varargs: any[]) => {
|
||||||
|
console.log(varargs);
|
||||||
|
};
|
||||||
|
|
||||||
|
const foo = (x: string): void => bar(x, () => {}, () => {});
|
||||||
|
|
||||||
|
`;
|
|
@ -0,0 +1,11 @@
|
||||||
|
const bar = (...varargs:any[]) => {
|
||||||
|
console.log(varargs);
|
||||||
|
};
|
||||||
|
|
||||||
|
const foo = (x:string):void => (
|
||||||
|
bar(
|
||||||
|
x,
|
||||||
|
() => {},
|
||||||
|
() => {}
|
||||||
|
)
|
||||||
|
);
|
|
@ -0,0 +1 @@
|
||||||
|
run_spec(__dirname, { parser: "typescript" });
|
|
@ -4053,9 +4053,9 @@ typedarray@^0.0.6:
|
||||||
lodash.unescape "4.0.1"
|
lodash.unescape "4.0.1"
|
||||||
semver "5.4.1"
|
semver "5.4.1"
|
||||||
|
|
||||||
typescript@2.5.1:
|
typescript@2.5.3:
|
||||||
version "2.5.1"
|
version "2.5.3"
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.5.1.tgz#ce7cc93ada3de19475cc9d17e3adea7aee1832aa"
|
resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.5.3.tgz#df3dcdc38f3beb800d4bc322646b04a3f6ca7f0d"
|
||||||
|
|
||||||
uglify-es@3.0.15:
|
uglify-es@3.0.15:
|
||||||
version "3.0.15"
|
version "3.0.15"
|
||||||
|
|
Loading…
Reference in New Issue