@things-factory/print-base 9.1.19 → 10.0.0-beta.1

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.
@@ -7,7 +7,7 @@ export const REGISTER_PRINTER_TYPE = 'REGISTER_PRINTER_TYPE'
7
7
 
8
8
  export async function print(printer, printable) {
9
9
  const { type } = printer
10
- const handler = store.getState().print.printerTypes[type]
10
+ const handler = (store.getState() as any).print.printerTypes[type]
11
11
 
12
12
  /* print는 device 특성을 가지므로, async handler를 전제로 한다. */
13
13
  return await handler.call(null, printer, printable)