This repository reproduces an issue with syntax highlighting of generic functions for both flow and typescript.
Reproduction should be as simple as:
# might take a few minutes; builds from source
make build
make run
# once within the container
nvim -O src/test.js src/test.tsx
If you want to clear up the containers/images:
make clean