Skip to content

Commit fb67ae6

Browse files
committed
fix: add missing interfaces export
1 parent 0a989b3 commit fb67ae6

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

packages/demo/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"standalone:require": "node ./src/examples/example-standalone-require.cjs"
1010
},
1111
"dependencies": {
12+
"@excel-builder-vanilla/types": "workspace:*",
1213
"@popperjs/core": "^2.11.8",
1314
"bootstrap": "^5.3.3",
1415
"excel-builder-vanilla": "workspace:*",
@@ -20,4 +21,4 @@
2021
"typescript": "^5.6.2",
2122
"vite": "^5.4.8"
2223
}
23-
}
24+
}

packages/demo/src/examples/example01.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Workbook, downloadExcelFile } from 'excel-builder-vanilla';
2+
// import type { ExcelStyleInstruction } from '@excel-builder-vanilla/types';
23

34
import './example01.scss';
45

packages/excel-builder-vanilla-types/dist/index.d.cts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,4 +1075,4 @@ declare function pick(object: any, keys: string[]): any;
10751075
*/
10761076
declare function uniqueId(prefix?: string): string;
10771077

1078-
export { AbsoluteAnchor, Chart, Drawing, Drawings, OneCellAnchor, Pane, Paths, Picture, Positioning, RelationshipManager, SharedStrings, SheetView, StyleSheet, Table, TwoCellAnchor, Util, Workbook, Worksheet, XMLDOM, XMLNode, createExcelFile, createWorkbook, downloadExcelFile, htmlEscape, isObject, isPlainObject, isString, pick, uniqueId };
1078+
export { AbsoluteAnchor, Chart, Drawing, Drawings, type ExcelAlignmentStyle, type ExcelBorderLineStyle, type ExcelBorderStyle, type ExcelColorStyle, type ExcelColumn, type ExcelColumnFormat, type ExcelColumnMetadata, type ExcelFillStyle, type ExcelFontStyle, type ExcelMargin, type ExcelMetadata, type ExcelSortState, type ExcelStyleInstruction, type ExcelTableColumn, OneCellAnchor, Pane, Paths, Picture, Positioning, RelationshipManager, SharedStrings, SheetView, StyleSheet, Table, TwoCellAnchor, Util, Workbook, Worksheet, XMLDOM, XMLNode, createExcelFile, createWorkbook, downloadExcelFile, htmlEscape, isObject, isPlainObject, isString, pick, uniqueId };

packages/excel-builder-vanilla-types/dist/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,4 +1075,4 @@ declare function pick(object: any, keys: string[]): any;
10751075
*/
10761076
declare function uniqueId(prefix?: string): string;
10771077

1078-
export { AbsoluteAnchor, Chart, Drawing, Drawings, OneCellAnchor, Pane, Paths, Picture, Positioning, RelationshipManager, SharedStrings, SheetView, StyleSheet, Table, TwoCellAnchor, Util, Workbook, Worksheet, XMLDOM, XMLNode, createExcelFile, createWorkbook, downloadExcelFile, htmlEscape, isObject, isPlainObject, isString, pick, uniqueId };
1078+
export { AbsoluteAnchor, Chart, Drawing, Drawings, type ExcelAlignmentStyle, type ExcelBorderLineStyle, type ExcelBorderStyle, type ExcelColorStyle, type ExcelColumn, type ExcelColumnFormat, type ExcelColumnMetadata, type ExcelFillStyle, type ExcelFontStyle, type ExcelMargin, type ExcelMetadata, type ExcelSortState, type ExcelStyleInstruction, type ExcelTableColumn, OneCellAnchor, Pane, Paths, Picture, Positioning, RelationshipManager, SharedStrings, SheetView, StyleSheet, Table, TwoCellAnchor, Util, Workbook, Worksheet, XMLDOM, XMLNode, createExcelFile, createWorkbook, downloadExcelFile, htmlEscape, isObject, isPlainObject, isString, pick, uniqueId };

packages/excel-builder-vanilla/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export { Workbook } from './Excel/Workbook';
1818
export { Worksheet } from './Excel/Worksheet';
1919
export { XMLDOM, XMLNode } from './Excel/XMLDOM';
2020
export { createExcelFile, createWorkbook, downloadExcelFile } from './factory';
21+
export * from './interfaces';
2122
export { htmlEscape } from './utilities/escape';
2223
export { isObject, isPlainObject, isString } from './utilities/isTypeOf';
2324
export { pick } from './utilities/pick';

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)