Skip to content

Commit

Permalink
Tentative d'explicité les types
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-NRCan committed Sep 27, 2023
1 parent b5f47be commit 639a6a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
}
},
"types": "./src/index.d.ts"
}
2 changes: 1 addition & 1 deletion src/chart/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ChartDoughnut } from './charts/chart-doughnut';
import { ChartBarsVertical } from './charts/chart-bars-vertical';
import { ChartPie } from './charts/chart-pie';
import { ChartLine } from './charts/chart-line';
import styles from "./chart.module.css";
import styles from './chart.module.css';


/**
Expand Down
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './chart/chart-types';
export * from './chart/chart';
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"declaration": true,
"strict": true,
"importHelpers": true,
"moduleResolution": "node",
Expand Down

0 comments on commit 639a6a3

Please sign in to comment.