File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
dialogs/create-study-dialog Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const ImportParametersSection: FunctionComponent = () => {
27
27
28
28
const handleParamsChange = (
29
29
paramName : string ,
30
- value : string | string [ ] | boolean ,
30
+ value : unknown ,
31
31
isEdit : boolean
32
32
) : void => {
33
33
if ( ! isEdit ) {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import {
21
21
useSnackMessage ,
22
22
fetchDirectoryContent ,
23
23
ElementAttributes ,
24
+ ElementType ,
24
25
} from '@gridsuite/commons-ui' ;
25
26
import { Search } from '@mui/icons-material' ;
26
27
import { useDispatch , useSelector } from 'react-redux' ;
@@ -36,7 +37,7 @@ export const SEARCH_FETCH_TIMEOUT_MILLIS = 1000; // 1 second
36
37
interface matchingElementProps {
37
38
id : string ;
38
39
name : string ;
39
- type : string ;
40
+ type : ElementType ;
40
41
pathName : string [ ] ;
41
42
pathUuid : string [ ] ;
42
43
}
Original file line number Diff line number Diff line change 4
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
*/
7
- import { getFileIcon } from '@gridsuite/commons-ui' ;
7
+ import { ElementType , getFileIcon } from '@gridsuite/commons-ui' ;
8
8
import Grid from '@mui/material/Grid' ;
9
9
import Typography from '@mui/material/Typography' ;
10
10
import { FormattedMessage } from 'react-intl' ;
@@ -44,7 +44,7 @@ interface SearchItemProps {
44
44
interface matchingElementProps {
45
45
id : string ;
46
46
name : string ;
47
- type : string ;
47
+ type : ElementType ;
48
48
pathName : string [ ] ;
49
49
pathUuid : string [ ] ;
50
50
}
You can’t perform that action at this time.
0 commit comments