TypeScript/tests/cases/compiler/asyncArrowInClassES5.ts

10 lines
208 B
TypeScript
Raw Normal View History

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