In my case the problem it was target: "es5" in compilerOptions at tsconfig.json.
So I change it to es6 to get it works without adding dependency.
In my case the problem it was target: "es5" in compilerOptions at tsconfig.json.
So I change it to es6 to get it works without adding dependency.