You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the javascript template repo and trying to build out a simple Action. I'm wanting exec stdout and err so I use the example from https://github.com/actions/toolkit/tree/master/packages/exec#outputoptions in my index.js. However, VSCODE says Type annotations can only be used in TypeScript files.ts(8010).
I'm not experienced enough at Javascript to know what the non-Typescript version of the example code is. Isn't Typescript an option and not the default? Why would the examples in the docs be for Typescript and not for regular javascript?
Can someone help me understand? Thanks!
The text was updated successfully, but these errors were encountered:
I'm using the javascript template repo and trying to build out a simple Action. I'm wanting exec stdout and err so I use the example from https://github.com/actions/toolkit/tree/master/packages/exec#outputoptions in my index.js. However, VSCODE says
Type annotations can only be used in TypeScript files.ts(8010)
.I'm not experienced enough at Javascript to know what the non-Typescript version of the example code is. Isn't Typescript an option and not the default? Why would the examples in the docs be for Typescript and not for regular javascript?
Can someone help me understand? Thanks!
The text was updated successfully, but these errors were encountered: