Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading