Would be nice to get it properly handled in https://github.com/eslint/typescript-eslint-parser/issues/307 Fixes #1877