Skip to content

Conversation

marvinhagemeister
Copy link
Contributor

The PropertyDefinition node also allows PrivateIdentifier as a type for the key. Example:

class Foo {
  #foo = 2;
}

Fixes one issue reported in #28355

@marvinhagemeister marvinhagemeister merged commit 62bc078 into main Mar 3, 2025
18 checks passed
@marvinhagemeister marvinhagemeister deleted the lint-property-private branch March 3, 2025 10:03
littledivy pushed a commit that referenced this pull request Mar 5, 2025
…on` key (#28358)

The `PropertyDefinition` node also allows `PrivateIdentifier` as a type
for the `key`. Example:

```ts
class Foo {
  #foo = 2;
}
```

Fixes one issue reported in
#28355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants