taro-bluetooth-print 2.9.2 → 2.9.3

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": "taro-bluetooth-print",
3
- "version": "2.9.2",
3
+ "version": "2.9.3",
4
4
  "description": "Taro 蓝牙打印库 v2.6 - 轻量级、高性能、跨平台支持微信、支付宝、百度、字节跳动小程序及H5 Web Bluetooth",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -311,7 +311,7 @@ export const rootContainer = new Container();
311
311
  export function injectable<T extends Constructor<object>>(constructor: T): T {
312
312
  // 标记类为可注入
313
313
  // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
314
- (constructor as Constructor & { __injectable: boolean }).__injectable = true;
314
+ (constructor as unknown as { __injectable: boolean }).__injectable = true;
315
315
  return constructor;
316
316
  }
317
317