Skip to content

Commit

Permalink
Build(deps-dev): bump typescript from 3.7.5 to 3.8.3 (badges#4718)
Browse files Browse the repository at this point in the history
* Build(deps-dev): bump typescript from 3.7.5 to 3.8.3

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.5 to 3.8.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v3.7.5...v3.8.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>

* Add generics to useState where necessary

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: PyvesB <[email protected]>
  • Loading branch information
dependabot-preview[bot] and PyvesB authored Mar 8, 2020
1 parent 3ecb7b2 commit 1d90e10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions frontend/components/customizer/customizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export default function Customizer({
CopiedContentIndicatorHandle
>() as React.MutableRefObject<CopiedContentIndicatorHandle>
const [path, setPath] = useState('')
const [queryString, setQueryString] = useState()
const [pathIsComplete, setPathIsComplete] = useState()
const [markup, setMarkup] = useState()
const [message, setMessage] = useState()
const [queryString, setQueryString] = useState<string>()
const [pathIsComplete, setPathIsComplete] = useState<boolean>()
const [markup, setMarkup] = useState<string>()
const [message, setMessage] = useState<string>()

function generateBuiltBadgeUrl(): string {
const suffix = queryString ? `?${queryString}` : ''
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
"styled-components": "^5.0.1",
"tmp": "0.1.0",
"ts-mocha": "^6.0.0",
"typescript": "^3.7.5"
"typescript": "^3.8.3"
},
"engines": {
"node": "^10.16.3",
Expand Down

0 comments on commit 1d90e10

Please sign in to comment.