Skip to content

Commit

Permalink
feat: 为类型声明添加了导入语句
Browse files Browse the repository at this point in the history
  • Loading branch information
jxhhdx authored and sendya committed May 13, 2024
1 parent e2bebfb commit bc87451
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/pro-field/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import {
proFieldFC,
proFieldFCRenderProps,
type ProFieldFCRenderProps,
ProFieldFC,
BaseProFieldFC,
ProRenderFieldPropsType,
type ProFieldFC,
type BaseProFieldFC,
type ProRenderFieldPropsType,
} from './components/typings';

export {
Expand Down Expand Up @@ -358,7 +358,7 @@ const ProField = defineComponent({
});

ProField.install = (app: App) => {
app.component(ProField.name, ProField);
app.component(ProField.name as string, ProField);
return app;
};

Expand Down
2 changes: 1 addition & 1 deletion packages/utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { proxyToRaw } from "./proxyToRaw";
export { proxyToRaw };

// type
import {
import type {
VueNode,
ProFieldFCMode,
VueText,
Expand Down

0 comments on commit bc87451

Please sign in to comment.