Update typescript
parent
6a4606155a
commit
28f56dedb6
|
@ -138,7 +138,7 @@
|
|||
"serve-static": "^1.14.2",
|
||||
"ts-morph": "^13.0.3",
|
||||
"ts-node": "^10.8.0",
|
||||
"typescript": "^4.7.2",
|
||||
"typescript": "^4.8.3",
|
||||
"vite": "^2.9.13",
|
||||
"vite-plugin-pwa": "^0.12.3",
|
||||
"vite-plugin-shim-react-pdf": "^1.0.5",
|
||||
|
|
|
@ -116,6 +116,7 @@ export function Checklist({
|
|||
}
|
||||
|
||||
return React.cloneElement(child, {
|
||||
// @ts-ignore
|
||||
onChange: (isSelected: boolean) =>
|
||||
onItemCheck?.(child.props.name, isSelected),
|
||||
defaultChecked:
|
||||
|
@ -124,12 +125,14 @@ export function Checklist({
|
|||
})
|
||||
|
||||
useEffect(() => {
|
||||
// @ts-ignore
|
||||
onInitialization?.(checklist.map((child) => child.props.name))
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<StyledList>
|
||||
{checklist.map((checkItem) => (
|
||||
// @ts-ignore
|
||||
<StyledListItem key={checkItem.props.name}>{checkItem}</StyledListItem>
|
||||
))}
|
||||
</StyledList>
|
||||
|
|
22
yarn.lock
22
yarn.lock
|
@ -25552,7 +25552,7 @@ __metadata:
|
|||
styled-components: ^5.3.1
|
||||
ts-morph: ^13.0.3
|
||||
ts-node: ^10.8.0
|
||||
typescript: ^4.7.2
|
||||
typescript: ^4.8.3
|
||||
vite: ^2.9.13
|
||||
vite-plugin-pwa: ^0.12.3
|
||||
vite-plugin-shim-react-pdf: ^1.0.5
|
||||
|
@ -27454,6 +27454,16 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:^4.8.3":
|
||||
version: 4.8.3
|
||||
resolution: "typescript@npm:4.8.3"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 8286a5edcaf3d68e65c451aa1e7150ad1cf53ee0813c07ec35b7abdfdb10f355ecaa13c6a226a694ae7a67785fd7eeebf89f845da0b4f7e4a35561ddc459aba0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@^4.2.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.5.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.5.5#~builtin<compat/typescript>, typescript@patch:typescript@^4.7.2#~builtin<compat/typescript>":
|
||||
version: 4.7.4
|
||||
resolution: "typescript@patch:typescript@npm%3A4.7.4#~builtin<compat/typescript>::version=4.7.4&hash=a1c5e5"
|
||||
|
@ -27464,6 +27474,16 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@^4.8.3#~builtin<compat/typescript>":
|
||||
version: 4.8.3
|
||||
resolution: "typescript@patch:typescript@npm%3A4.8.3#~builtin<compat/typescript>::version=4.8.3&hash=bda367"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 0404a09c625df01934ef774b45ce1ca57ccae41cd625fcdbb82056715320d9329e70d9d75c2c732ec6ef947444ca978c189a332b71fa21f5c1437d5a83e24906
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"uglify-js@npm:^3.1.4":
|
||||
version: 3.16.2
|
||||
resolution: "uglify-js@npm:3.16.2"
|
||||
|
|
Loading…
Reference in New Issue