fix: Error: src/schema-component/antd/array-table/TableRecordActionDesigner.tsx(3,38): error TS2307: Cannot find module '@nocobase/client' or its corresponding type declarations.

This commit is contained in:
chenos 2022-02-22 18:35:12 +08:00
parent 4657c22ef3
commit 2caec7a271

View File

@ -1,9 +1,9 @@
import { DragOutlined } from '@ant-design/icons'; import { DragOutlined } from '@ant-design/icons';
import { useFieldSchema } from '@formily/react'; import { useFieldSchema } from '@formily/react';
import { useSchemaInitializer } from '@nocobase/client';
import { Space } from 'antd'; import { Space } from 'antd';
import React from 'react'; import React from 'react';
import { DragHandler } from '../../../schema-component'; import { DragHandler } from '../../../schema-component';
import { useSchemaInitializer } from '../../../schema-initializer';
export const TableRecordActionDesigner = (props: any) => { export const TableRecordActionDesigner = (props: any) => {
const fieldSchema = useFieldSchema(); const fieldSchema = useFieldSchema();