This works. BUT the problem with this is that the linter does not check for missing imports/requires anymore Therefore it would be better to do just: ...