hellof2e / quark-design

Browser-native component library, framework-agnostic, base on web components.(移动端 UI 组件库,无框架,即插即用。)
https://quark-ecosystem.github.io/quarkd-docs
MIT License
1.9k stars 189 forks source link

ERROR in my-app/node_modules/quarkd/lib/overlay/index.d.ts #253

Closed xsf0105 closed 1 year ago

xsf0105 commented 1 year ago

启动终端出现error,页面展示正常

...
ERROR in /Users/Downloads/vue2-tsx-app-master/node_modules/quarkd/lib/dialog/index.d.ts(27,35):
27:35 Type 'typeof import("/Users/Downloads/vue2-tsx-app-master/node_modules/quarkc/lib/index")' is not a constructor function type.
    25 |     close: () => void;
    26 | }
  > 27 | declare class QuarkDialog extends QuarkElement {
       |                                   ^
    28 |     zindex: string;
    29 |     title: string;
    30 |     notitle: boolean;
ERROR in /Users/Downloads/vue2-tsx-app-master/node_modules/quarkd/lib/loading/index.d.ts(8,36):
8:36 Type 'typeof import("/Users/Downloads/vue2-tsx-app-master/node_modules/quarkc/lib/index")' is not a constructor function type.
     6 |     vertical?: boolean;
     7 | }
  >  8 | declare class QuarkLoading extends QuarkElement {
       |                                    ^
     9 |     constructor();
    10 |     type: "spinner" | "circular" | "pullrefresh";
    11 |     vertical: boolean;
ERROR in /Users/Downloads/vue2-tsx-app-master/node_modules/quarkd/lib/overlay/index.d.ts(9,36):
9:36 Type 'typeof import("/Users/Downloads/vue2-tsx-app-master/node_modules/quarkc/lib/index")' is not a constructor function type.
     7 |     close: () => void;
     8 | }
  >  9 | declare class QuarkOverlay extends QuarkElement {
       |                                    ^
    10 |     constructor();
    11 |     open: boolean;
    12 |     zindex: number | string
Version: typescript 4.3.4
Time: 1706ms