parent
2f840f940f
commit
e270032d37
|
@ -41,7 +41,7 @@
|
|||
"rollup-plugin-node-globals": "1.1.0",
|
||||
"rollup-plugin-node-resolve": "2.0.0",
|
||||
"typescript": "2.3.2",
|
||||
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#31ad3c4c3e59ad3290aeb1a04d8f2683de55fbde"
|
||||
"typescript-eslint-parser": "git://github.com/eslint/typescript-eslint-parser.git#992f1fa940c5679c8a509059665146f717da58cb"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
|
|
|
@ -1,5 +1,29 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`async-iteration.js 1`] = `
|
||||
|
||||
async function * a() {
|
||||
yield* b();
|
||||
}
|
||||
|
||||
class X {
|
||||
async * b() {
|
||||
yield* a();
|
||||
}
|
||||
}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
async function* a() {
|
||||
yield* b();
|
||||
}
|
||||
|
||||
class X {
|
||||
async *b() {
|
||||
yield* a();
|
||||
}
|
||||
}
|
||||
|
||||
`;
|
||||
|
||||
exports[`await_parse.js 1`] = `
|
||||
async function f() { (await f()).length }
|
||||
async function g() {
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
async function * a() {
|
||||
yield* b();
|
||||
}
|
||||
|
||||
class X {
|
||||
async * b() {
|
||||
yield* a();
|
||||
}
|
||||
}
|
|
@ -1,5 +1,14 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`dunder.ts 1`] = `
|
||||
// eslint/typescript-eslint-parser#296
|
||||
class F<__T> {}
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
// eslint/typescript-eslint-parser#296
|
||||
class F<__T> {}
|
||||
|
||||
`;
|
||||
|
||||
exports[`generics.ts 1`] = `
|
||||
class<T> implements Map<T> {}
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
// eslint/typescript-eslint-parser#296
|
||||
class F<__T> {}
|
|
@ -2808,9 +2808,9 @@ typedarray@^0.0.6:
|
|||
version "0.0.6"
|
||||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||
|
||||
"typescript-eslint-parser@git://github.com/eslint/typescript-eslint-parser.git#31ad3c4c3e59ad3290aeb1a04d8f2683de55fbde":
|
||||
"typescript-eslint-parser@git://github.com/eslint/typescript-eslint-parser.git#992f1fa940c5679c8a509059665146f717da58cb":
|
||||
version "3.0.0"
|
||||
resolved "git://github.com/eslint/typescript-eslint-parser.git#31ad3c4c3e59ad3290aeb1a04d8f2683de55fbde"
|
||||
resolved "git://github.com/eslint/typescript-eslint-parser.git#992f1fa940c5679c8a509059665146f717da58cb"
|
||||
dependencies:
|
||||
lodash.unescape "4.0.1"
|
||||
semver "5.3.0"
|
||||
|
|
Loading…
Reference in New Issue