Skip to content

Commit bf373ce

Browse files
committed
chore(types): add exported types
1 parent 92bcf8b commit bf373ce

File tree

3 files changed

+934
-1132
lines changed

3 files changed

+934
-1132
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@
2727
"dist",
2828
"README"
2929
],
30-
"main": "dist/index.js",
31-
"types": "dist/index.d.js",
30+
"main": "src/index.ts",
31+
"types": "src/index.ts",
32+
"mainBuild": "dist/index.js",
33+
"typesBuild": "dist/index.d.js",
3234
"keywords": [
3335
"js-create-powerpoint",
3436
"js-create-pptx",

src/index.ts

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,23 @@ const setChartCombo = ModifyChartHelper.setChartCombo;
2828
import { AutomizerSummary } from './types/types';
2929
export type { AutomizerSummary };
3030

31-
import { ModifyTableParams } from './types/table-types';
32-
import { ChartData } from './types/chart-types';
31+
import { ModifyTableParams, TableData, TableRow, TableRowStyle } from './types/table-types';
32+
import {ChartBubble, ChartCategory, ChartData, ChartSeries, ChartValueStyle } from './types/chart-types';
33+
import {Color, ReplaceText, TextStyle } from './types/modify-types';
34+
import { ShapeCoordinates } from './types/shape-types';
3335

34-
export type { ModifyTableParams, ChartData };
36+
export type {
37+
ChartBubble, ChartCategory, ChartSeries,
38+
TableData, TableRow,
39+
TextStyle,
40+
ModifyTableParams,
41+
TableRowStyle,
42+
ChartData,
43+
ChartValueStyle,
44+
Color,
45+
ShapeCoordinates,
46+
ReplaceText
47+
};
3548

3649
export {
3750
Automizer,

0 commit comments

Comments
 (0)