Skip to content

Commit

Permalink
Add typescript! (#13)
Browse files Browse the repository at this point in the history
Adds typescript support, and converts existing js files to tsx.
  • Loading branch information
shaldengeki authored Apr 13, 2023
1 parent bbaa68d commit bcc8762
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
10 changes: 6 additions & 4 deletions fitbit-challenges/frontend/package-lock.json

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

3 changes: 3 additions & 0 deletions fitbit-challenges/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.35",
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6",
"lodash": "^4.17.21",
Expand All @@ -17,6 +19,7 @@
"react-plotlyjs": "^0.4.4",
"react-router-dom": "^6.10.0",
"react-scripts": "5.0.1",
"typescript": "^4",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import './App.css';
import App from './App';
import App from './App.tsx';

import { ApolloClient, HttpLink, InMemoryCache, ApolloProvider } from '@apollo/client';

Expand Down

0 comments on commit bcc8762

Please sign in to comment.