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

feat(typescript-estree):typeof private identifiers#4832

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

Closed

Conversation

sosukesuzuki
Copy link
Contributor

@sosukesuzukisosukesuzuki commentedApr 17, 2022
edited by bradzacher
Loading

PR Checklist

Overview

Based on#4829

Adds tests fortypeof this.#foo

@nx-cloud
Copy link

nx-cloudbot commentedApr 17, 2022
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commitaf7b0f3. 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


🟥 Failed Commands
Node 12.x - nx run-many --target=build --all --parallel --exclude website
Node 12.x - nx run-many --target=build --all --parallel --exclude website --exclude website
Node 12.x - nx run-many --target=build --all --parallel --exclude website --exclude website
Node 12.x - nx run-many --target=build --all --parallel --exclude website --exclude website
Node 16.x - nx run-many --target=build --all --parallel --exclude website --exclude website
Node 12.x - nx run-many --target=build --all --parallel --exclude website --exclude website
Node 14.x - nx run-many --target=build --all --parallel --exclude website --exclude website
Node 12.x - nx run-many --target=build --all --parallel --exclude website --exclude website

Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@sosukesuzuki!

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. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@netlify
Copy link

netlifybot commentedApr 17, 2022
edited
Loading

Deploy Preview fortypescript-eslint failed.

NameLink
🔨 Latest commitaf7b0f3
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/625bf46dc6818b0008efe7cc

import type { EntityName } from '../../unions/EntityName';

export interface TSQualifiedName extends BaseNode {
type: AST_NODE_TYPES.TSQualifiedName;
left: EntityName;
right: Identifier;
right: Identifier | PrivateIdentifier;
Copy link
Member

Choose a reason for hiding this comment

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

NGL - I do hate this a little bit because the only place thatthis.#foo is valid is in atypeof. It just means that consumers will have to check the type of this even though they'll know it's not possible.

It's probably not worth going to the effort of creating a separate AST node just for private member expressions within a type query.

@bradzacherbradzacher added the ASTPRs and Issues about the AST structure labelApr 25, 2022
@bradzacher
Copy link
Member

microsoft/TypeScript#48959

They are pulling this feature from 4.7, so we can close this for now.

@sosukesuzukisosukesuzuki deleted the typeof-private branchMay 5, 2022 03:19
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJun 16, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher left review comments

Assignees
No one assigned
Labels
ASTPRs and Issues about the AST structure
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@sosukesuzuki@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp