This is a workaround while waiting on https://github.com/eslint/typescript-eslint-parser/issues/337. Fixes #2471