From 836511e6ba3a401abf81760b0d9801226729ee3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Fri, 8 Sep 2023 05:34:34 -0700 Subject: [PATCH] Remove unimplemented getClientRects method from ReadOnlyElement (#39348) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39348 We removed this method from the proposal, so we don't need to keep the method around unimplemented. Changelog: [internal] Reviewed By: NickGerleman Differential Revision: D49069518 fbshipit-source-id: 5b391954b125a082d7489d166b1c1cd6444cfa1b --- packages/react-native/Libraries/DOM/Nodes/ReadOnlyElement.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-native/Libraries/DOM/Nodes/ReadOnlyElement.js b/packages/react-native/Libraries/DOM/Nodes/ReadOnlyElement.js index 0d4143bf17647f..d81e8b8c6ad6b0 100644 --- a/packages/react-native/Libraries/DOM/Nodes/ReadOnlyElement.js +++ b/packages/react-native/Libraries/DOM/Nodes/ReadOnlyElement.js @@ -227,10 +227,6 @@ export default class ReadOnlyElement extends ReadOnlyNode { return new DOMRect(0, 0, 0, 0); } - getClientRects(): DOMRectList { - throw new TypeError('Unimplemented'); - } - /** * Pointer Capture APIs */