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

docs(eslint-plugin): remove invalid examples for unified-signatures#6286

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

Conversation

SuperSodaSea
Copy link
Contributor

PR Checklist

Overview

The invalid example forunified-signatures:

functionf(...a:number[]):void;functionf(...b:string[]):void;

Is removed, and:

functionf(...a:number[]):void;functionf(...a:string[]):void;

Is moved out of theignoreDifferentlyNamedParameters part, and added comments about why the rule won't check overload signatures with different rest parameter types.

@nx-cloud
Copy link

nx-cloudbot commentedDec 30, 2022
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commit4eda7db. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 47 targets

Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@SuperSodaSea!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@netlify
Copy link

netlifybot commentedDec 30, 2022
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit4eda7db
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/63ae2d5a039eb100089e51e3
😎 Deploy Previewhttps://deploy-preview-6286--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks for fixing this up@SuperSodaSea! ❤️‍🔥

@@ -38,6 +38,13 @@ function x(x: number | string): void;
function y(...x: number[]): void;
```

```ts
// This rule won't check overload signatures with different rest parameter types.
// See https://github.com/microsoft/TypeScript/issues/5077

Choose a reason for hiding this comment

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

This is a well-formatted and well-typed out comment. I like it a lot. 😄

@JoshuaKGoldbergJoshuaKGoldberg merged commitd562244 intotypescript-eslint:mainJan 22, 2023
@SuperSodaSeaSuperSodaSea deleted the docs/unified-signatures branchJanuary 22, 2023 06:17
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJan 30, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@JoshuaKGoldbergJoshuaKGoldbergJoshuaKGoldberg approved these changes

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

Successfully merging this pull request may close these issues.

Docs: [unified-signatures] remove invalid examples from docs
2 participants
@SuperSodaSea@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp