The plan at the moment is to deprecate that package.
You should use the new webpack config, and the new flarum-tsconfig package.
The tsconfig hasn't quite been completed yet, but should be done shortly. You can set it up for now, then try to get the typings working using...
This is still being tested and we don't know if we will use this method instead of the types package.