diff --git a/.eslintrc.js b/.eslintrc.js index 8c828c846ffa23..bf901bc56ed557 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -240,6 +240,7 @@ module.exports = { 'react/jsx-no-useless-fragment': ['error', { allowExpressions: true }], 'lines-around-directive': 'off', ...(ENABLE_REACT_COMPILER_PLUGIN ? { 'react-compiler/react-compiler': 'error' } : {}), + 'id-denylist': ['error', 'e'], }, overrides: [ { diff --git a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts index fea68f162183d7..e4ddbbbf5cf6e4 100644 --- a/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts +++ b/packages/mui-material/src/SwipeableDrawer/SwipeableDrawer.d.ts @@ -16,7 +16,7 @@ export interface SwipeableDrawerProps extends Omit boolean); + | ((event: TouchEvent, swipeArea: HTMLDivElement, paper: HTMLDivElement) => boolean); /** * Disable the backdrop transition. * This can improve the FPS on low-end devices.