Skip to content

Commit

Permalink
fix: 修改类型声明
Browse files Browse the repository at this point in the history
  • Loading branch information
hongxing committed Dec 6, 2024
1 parent 612925b commit 9ce189a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion global.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module 'gm-x-printer' {
import { CSSProperties } from 'react'
import { CSSProperties } from 'react'

interface EditorProps {
config: any
Expand Down Expand Up @@ -64,6 +64,7 @@ declare module 'gm-x-printer' {
class EditorManage<T extends EditorProps> extends React.Component<T, any> { }
class EditorBoxLabel<T extends EditorProps> extends React.Component<T, any> { }
class EditEshopOrder<T extends EditorProps> extends React.Component<T, any> { }
class EditorPurchaseDemand<T extends EditorProps> extends React.Component<T, any> { }
class Printer<T extends PrinterProps> extends React.Component<T, any> { }
class BatchPrinter<T extends BatchPrinterProps> extends React.Component<
T,
Expand Down
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"大写": "Upper case",
"*小写*": "*Lower case* ",
"小写": "Lower case",
"样式设置": "Style settings:",
"样式设置": "Style settings",
"入库": "Inbound",
"出库": "Outbound",
"整行展现的情况下只能选择一个字段": "When the entire row is displayed, only one field can be selected",
Expand Down

0 comments on commit 9ce189a

Please sign in to comment.