Convert to TypeScript

This needs the usual "I know the `app` element exists" annotation, plus
dealing with a non-existing /etc/hostname (in which case the watch will
return `null`, and we shouldn't poke that into a `string` state).
This commit is contained in:
Martin Pitt 2024-07-11 11:39:39 +02:00 committed by Allison Karlitskaya
parent 4bbb291281
commit 745b4ab8e8
6 changed files with 43 additions and 5 deletions

View file

@ -18,6 +18,9 @@
"stylelint:fix": "stylelint --fix src/*{.css,scss}"
},
"devDependencies": {
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.16.0",
"argparse": "2.0.1",
"chrome-remote-interface": "0.33.2",
"esbuild": "0.23.0",
@ -43,7 +46,8 @@
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-standard": "36.0.1",
"stylelint-config-standard-scss": "13.1.0",
"stylelint-formatter-pretty": "4.0.0"
"stylelint-formatter-pretty": "4.0.0",
"typescript": "5.5.3"
},
"dependencies": {
"@patternfly/patternfly": "5.3.1",