-
-
Notifications
You must be signed in to change notification settings - Fork 781
feat(isolated-declarations): report an error for object methods whose return type cannot be inferred #11230
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
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #11230 will not alter performanceComparing Summary
Benchmarks breakdown
|
57cd5a9 to
c4b71d8
Compare
3198d49 to
f8622ef
Compare
c4b71d8 to
109dcf6
Compare
Merge activity
|
… return type cannot be inferred (#11230) The same as `class`, if the method's return type cannot be inferred, it should report an error. ```ts const A = { method() { //^^^^^^^ Method must have an explicit return type annotation with --isolatedDeclarations. } } ```
109dcf6 to
9ec8500
Compare
f8622ef to
123e63c
Compare

The same as
class, if the method's return type cannot be inferred, it should report an error.