Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix import path for github-script in README#495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
yuheiy wants to merge1 commit intoactions:main
base:main
Choose a base branch
Loading
fromyuheiy:fix-readme

Conversation

yuheiy
Copy link

No description provided.

@yuheiyyuheiy requested a review froma team as acode ownerOctober 22, 2024 14:25
@@ -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:
```js
// @ts-check
/** @param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments */
/** @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Does this not need to match the installed dependency above?

npm i -D @types/github-script@github:actions/github-script

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The@types packages are automatically mapped to the packages with@types stripped off.

And importing@types/github-script causes error TS6137. Rewriting togithub-script resolves this issue.

ref:microsoft/TypeScript#16472

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

How you doing?

@@ -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:
```js
// @ts-check
/** @param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments */
/** @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

How you doing?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@joshmgrossjoshmgrossjoshmgross left review comments

@invisiblepancakeinvisiblepancakeinvisiblepancake approved these changes

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@yuheiy@joshmgross@invisiblepancake

[8]ページ先頭

©2009-2025 Movatter.jp