Skip to content

Commit

Permalink
Upgrade typescript dependencies to get rid of use strict inject in json
Browse files Browse the repository at this point in the history
  • Loading branch information
gfting committed Jun 30, 2020
1 parent dc8a5e8 commit 9fb63fe
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
24 changes: 15 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
"@types/react-select": "^3.0.10",
"@types/react-test-renderer": "^16.9.2",
"@types/react-virtualized": "^9.21.7",
"@types/styled-components": "4.4.2",
"@types/styled-components": "^5.1.0",
"@types/supertest": "^2.0.8",
"@types/yup": "^0.26.29",
"@typescript-eslint/eslint-plugin": "^2.18.0",
Expand Down Expand Up @@ -203,7 +203,7 @@
"ts-jest": "^25.1.0",
"ts-node-dev": "^1.0.0-pre.44",
"typedoc": "^0.16.9",
"typescript": "^3.7.5",
"typescript": "^3.9.5",
"webpack": "^4.41.5",
"webpack-dev-server": "^3.10.2",
"webpack-merge": "^4.2.2"
Expand Down
4 changes: 2 additions & 2 deletions src/client/routes/manage/SponsorHackerView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import STRINGS from '../../assets/strings.json';
import { HackerView } from './HackerView';
import HackerTable from './HackerTable';
import { defaultTableState, TableContext } from '../../contexts/TableContext';
import { useHackersQuery, useMeSponsorQuery, Sponsor } from '../../generated/graphql';
import { useHackersQuery, useMeSponsorQuery, Sponsor, HackersQuery } from '../../generated/graphql';

export const SponsorHackerView: FunctionComponent = (): JSX.Element => {
const { loading, error, data } = useHackersQuery();
const [tableState, updateTableState] = useImmer(defaultTableState);
const [filteredData, setFilteredData] = useState();
const [filteredData, setFilteredData] = useState<HackersQuery | undefined>();
const sponsorMeQueryResult = useMeSponsorQuery();
const sponsorLoading = sponsorMeQueryResult.loading;
const sponsorError = sponsorMeQueryResult.error;
Expand Down

0 comments on commit 9fb63fe

Please sign in to comment.