File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,10 @@ module.exports = {
1010 'react/sort-comp' : 0 ,
1111 'jsx-a11y/label-has-for' : 0 ,
1212 'jsx-a11y/label-has-associated-control' : 0 ,
13+ '@typescript-eslint/consistent-indexed-object-style' : 0 ,
14+ '@typescript-eslint/no-parameter-properties' : 0 ,
15+ '@typescript-eslint/ban-types' : 0 ,
16+ '@typescript-eslint/type-annotation-spacing' : 0 ,
17+ '@typescript-eslint/no-throw-literal' : 0 ,
1318 } ,
1419} ;
Original file line number Diff line number Diff line change 6161 "react" : " ^18.0.0" ,
6262 "react-dom" : " ^18.0.0" ,
6363 "regenerator-runtime" : " ^0.14.0" ,
64- "typescript" : " ^ 5.1.6"
64+ "typescript" : " ~ 5.1.6"
6565 },
6666 "dependencies" : {
6767 "@rc-component/motion" : " ^1.1.4" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import useEvent from '@rc-component/util/lib/hooks/useEvent';
88import useId from '@rc-component/util/lib/hooks/useId' ;
99import useLayoutEffect from '@rc-component/util/lib/hooks/useLayoutEffect' ;
1010import * as React from 'react' ;
11- import Popup , { MobileConfig } from './Popup' ;
11+ import Popup , { type MobileConfig } from './Popup' ;
1212import TriggerWrapper from './TriggerWrapper' ;
1313import type { TriggerContextProps } from './context' ;
1414import TriggerContext from './context' ;
Original file line number Diff line number Diff line change 1- import type { CSSMotionProps } from '@rc-component/motion' ;
2-
31export type Placement =
42 | 'top'
53 | 'left'
You can’t perform that action at this time.
0 commit comments