This commit is contained in:
Yuhei Yasuda 2025-01-17 13:41:57 -06:00 committed by GitHub
commit 46a21f180e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -437,7 +437,7 @@ $ npm i -D @types/github-script@github:actions/github-script
And then add the `jsDoc` declaration to your script like this: And then add the `jsDoc` declaration to your script like this:
```js ```js
// @ts-check // @ts-check
/** @param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments */ /** @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */
export default async ({ core, context }) => { export default async ({ core, context }) => {
core.debug("Running something at the moment"); core.debug("Running something at the moment");
return context.actor; return context.actor;