From 0eda700bf498365a1bb844b22f8cf3c525352bb7 Mon Sep 17 00:00:00 2001 From: Andrew Coates <30809111+acoates-ms@users.noreply.github.com> Date: Tue, 10 Mar 2026 13:02:19 -0700 Subject: [PATCH 1/2] Update require's from TouchableWin32 to be imports --- .../Libraries/Components/Touchable/TouchableWin32.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/@office-iss/react-native-win32/src-win/Libraries/Components/Touchable/TouchableWin32.tsx b/packages/@office-iss/react-native-win32/src-win/Libraries/Components/Touchable/TouchableWin32.tsx index 3e5371419f2..443a06480ec 100644 --- a/packages/@office-iss/react-native-win32/src-win/Libraries/Components/Touchable/TouchableWin32.tsx +++ b/packages/@office-iss/react-native-win32/src-win/Libraries/Components/Touchable/TouchableWin32.tsx @@ -27,10 +27,13 @@ import { } from './TouchableWin32.Types'; import { IKeyboardEvent } from '../View/ViewPropTypes'; -const BoundingDimensions = require('./BoundingDimensions'); -const Position = require('./Position'); +// @ts-ignore +import BoundingDimensions from './BoundingDimensions'; +// @ts-ignore +import Position from './Position'; -const {findNodeHandle} = require('../../ReactNative/RendererProxy'); +// @ts-ignore +import {findNodeHandle} from '../../ReactNative/RendererProxy'; /** * Extracts a single touch, generally this is the active touch or touch that From 05a52607fdc00790de795f0c1c14a3c051a9bec3 Mon Sep 17 00:00:00 2001 From: Andrew Coates <30809111+acoates-ms@users.noreply.github.com> Date: Tue, 10 Mar 2026 13:02:39 -0700 Subject: [PATCH 2/2] Change files --- ...-native-win32-7e6d8533-efbe-42e9-940c-7c6bbc651f7d.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@office-iss-react-native-win32-7e6d8533-efbe-42e9-940c-7c6bbc651f7d.json diff --git a/change/@office-iss-react-native-win32-7e6d8533-efbe-42e9-940c-7c6bbc651f7d.json b/change/@office-iss-react-native-win32-7e6d8533-efbe-42e9-940c-7c6bbc651f7d.json new file mode 100644 index 00000000000..78f10962205 --- /dev/null +++ b/change/@office-iss-react-native-win32-7e6d8533-efbe-42e9-940c-7c6bbc651f7d.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Update require's from TouchableWin32 to be imports", + "packageName": "@office-iss/react-native-win32", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +}