Fixed linting error due to redef of Promise