Skip to content

Commit c258373

Browse files
committed
More TS updates
1 parent e841c40 commit c258373

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/GithubContributions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
import { FunctionComponent, useEffect, useState } from "react";
23
import { ChartContainer } from "./ChartContainer";
34
import { Loader } from "./Loader";

src/Loader.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from "react";
12
import { FunctionComponent } from "react";
23

34
export const Loader: FunctionComponent = () => {

tsconfig.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
2-
"compilerOptions": {
2+
"include": ["src/index.ts"],
3+
"compilerOptions": {
34
"isolatedModules": true,
4-
"jsx": "react-jsx"
5-
},
6-
"include": ["src"]
5+
"jsx": "react",
6+
"target": "es5",
7+
"esModuleInterop": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"skipLibCheck": true
10+
}
711
}

0 commit comments

Comments
 (0)