Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fast_check): better support for auto accessors #417

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

dsherret
Copy link
Member

No description provided.

@dsherret dsherret requested a review from bartlomieju March 12, 2024 15:41
/** Some comment */ declare public_accessor: string;
declare private private_accessor: any;
declare static static_accessor: number;
declare private static private_static: any;
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering where the any is coming from. The original value is a '' literal which could be inferred as string here.

Copy link
Member Author

Choose a reason for hiding this comment

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

It's a private property, so I made them all any so that we don't have to do analysis on them or surface diagnostics.

@dsherret dsherret merged commit d602c82 into denoland:main Mar 12, 2024
4 checks passed
@dsherret dsherret deleted the auto_accessors branch March 12, 2024 17:10
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