TypeScript/tests/cases/compiler/asyncArrowInClassES5.ts
2017-08-24 15:06:06 -07:00

10 lines
208 B
TypeScript

// @noEmitHelpers: true
// @lib: es2015
// @target: es5
// https://github.com/Microsoft/TypeScript/issues/16924
// Should capture `this`
class Test {
static member = async (x: string) => { };
}