Closed martincostello closed 3 years ago
Required an update from es6
to es2019
in my tsconfig.json
.
Hit this same problem. My solution was to remove "lib": ["es6"]
from tsconfig
. If anyone is curious: https://github.com/actions/toolkit/pull/760#discussion_r608013178
Using TypeScript with ncc to compile a dist folder as described in the documentation for actions generates a compilation error when using actions/http-client v1.0.9:
Example build