From 4cc60bacd5a1c2a7f5728e5556afc28019e975b1 Mon Sep 17 00:00:00 2001 From: forcepusher Date: Fri, 12 Mar 2021 04:24:17 +0700 Subject: [PATCH 1/2] Fixed missing getter property definitions. --- src/definitions.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/definitions.ts b/src/definitions.ts index 474fc8a567..63bbeeb47b 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -125,8 +125,7 @@ export abstract class ExportsWalker { let propertyInstance = (element).instance; if (!propertyInstance) break; element = propertyInstance; - // fall-through - break; + // intentional fall-through, do not put a "break;" here. } case ElementKind.PROPERTY: { let propertyInstance = element; From 67b64601a3378a64ee1b850957b3397a7dc911dc Mon Sep 17 00:00:00 2001 From: Carl Date: Fri, 12 Mar 2021 04:36:45 +0700 Subject: [PATCH 2/2] Update src/definitions.ts Co-authored-by: Daniel Wirtz --- src/definitions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions.ts b/src/definitions.ts index 63bbeeb47b..2a39a927a5 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -125,7 +125,7 @@ export abstract class ExportsWalker { let propertyInstance = (element).instance; if (!propertyInstance) break; element = propertyInstance; - // intentional fall-through, do not put a "break;" here. + // fall-through } case ElementKind.PROPERTY: { let propertyInstance = element;