From 533815fc29e7a42d41c7575c745c664f8c511496 Mon Sep 17 00:00:00 2001 From: Romaric Pascal Date: Fri, 23 Aug 2024 15:00:24 +0100 Subject: [PATCH] Use `@import` for GitHub workflows --- .github/workflows/scripts/comments.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/comments.mjs b/.github/workflows/scripts/comments.mjs index 800aa9168d..ffc22c2027 100644 --- a/.github/workflows/scripts/comments.mjs +++ b/.github/workflows/scripts/comments.mjs @@ -333,7 +333,8 @@ function getReviewAppUrl(prNumber, path = '/') { */ /** - * @typedef {import('@octokit/plugin-rest-endpoint-methods').RestEndpointMethodTypes["issues"]} IssuesEndpoint + * @import {RestEndpointMethodTypes} from '@octokit/plugin-rest-endpoint-methods' + * @typedef {RestEndpointMethodTypes["issues"]} IssuesEndpoint * @typedef {IssuesEndpoint["listComments"]["parameters"]} IssueCommentsListParams * @typedef {IssuesEndpoint["getComment"]["response"]["data"]} IssueCommentData */