tadcode-wpsjs 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tadcode-wpsjs",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "hot": "NODE_ENV=development bun --hot ignore/index.ts",
@@ -1,4 +1,5 @@
1
1
  declare module 'application:datatable' {
2
+ import { Patch } from 'application:datatable'
2
3
  // 基础类型定义
3
4
  type SheetType = 'xlEtFlexPaperSheet' | 'xlEtDataBaseSheet' | 'xlDbDashBoardSheet'
4
5
 
@@ -59,7 +60,7 @@ declare module 'application:datatable' {
59
60
  }
60
61
 
61
62
  // Sheets 接口
62
- interface Sheets {
63
+ interface Sheets extends Patch.Sheets {
63
64
  // 属性
64
65
  readonly Count: number
65
66
 
@@ -0,0 +1,10 @@
1
+ declare module 'application:datatable' {
2
+ import { Sheet } from 'application:datatable'
3
+ namespace Patch {
4
+ interface Sheets {
5
+ (Index: number | string): Sheet
6
+ }
7
+ }
8
+
9
+ export { Patch }
10
+ }