Closed westeast closed 3 years ago
完整的错误:
[WARNI] Can't resolve `moduleId` in file [/node_modules/monaco-editor/esm/vs/base/common/worker/simpleWorker.js], did you miss `npm install moduleId`?
..................................................................................................................................................................................................................... 209.25s
node_modules/@types/whatwg-fetch/index.d.ts:6:23 - error TS2688: Cannot find type definition file for 'whatwg-streams'.
6 /// <reference types="whatwg-streams" />
~~~~~~~~~~~~~~
node_modules/@types/whatwg-fetch/index.d.ts:8:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: fetch, HeadersInit, Headers, BodyInit, RequestInfo, Request, RequestDestination, RequestMode, RequestCredentials, RequestCache, RequestRedirect, ReferrerPolicy, Response, ResponseType
8 interface Window {
~~~~~~~~~
node_modules/typescript/lib/lib.dom.d.ts:25:1
25 interface Account {
~~~~~~~~~
Conflicts are in this file.
node_modules/@types/whatwg-fetch/index.d.ts:68:5 - error TS2717: Subsequent property declarations must have the same type. Property 'body' must be of type 'string | ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | ReadableStream<Uint8Array> | null | undefined', but here has type 'string | ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | ReadableStream<Uint8Array> | undefined'.
68 body?: BodyInit;
~~~~
node_modules/typescript/lib/lib.dom.d.ts:1529:5
1529 body?: BodyInit | null;
~~~~
'body' was also declared here.
node_modules/@types/whatwg-fetch/index.d.ts:76:5 - error TS2717: Subsequent property declarations must have the same type. Property 'window' must be of type 'any', but here has type 'null | undefined'.
76 window?: null; // can only be set to null
~~~~~~
node_modules/typescript/lib/lib.dom.d.ts:1577:5
1577 window?: any;
~~~~~~
'window' was also declared here.
node_modules/typescript/lib/lib.dom.d.ts:25:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: fetch, HeadersInit, Headers, BodyInit, RequestInfo, Request, RequestDestination, RequestMode, RequestCredentials, RequestCache, RequestRedirect, ReferrerPolicy, Response, ResponseType
25 interface Account {
~~~~~~~~~
node_modules/@types/whatwg-fetch/index.d.ts:8:1
8 interface Window {
~~~~~~~~~
Conflicts are in this file.
src/components/ColorPicker.tsx:10:37 - error TS2305: Module '"../../../../../../../Users/likenan/git/easymis/amis/node_modules/@types/react-color"' has no exported member 'ColorResult'.
10 import {SketchPicker, GithubPicker, ColorResult} from 'react-color';
~~~~~~~~~~~
src/components/ContextMenu.tsx:157:7 - error TS2345: Argument of type 'Element' is not assignable to parameter of type 'HTMLElement'.
Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 110 more.
157 menu.children[1],
~~~~~~~~~~~~~~~~
src/components/Drawer.tsx:132:8 - error TS2604: JSX element type 'Portal' does not have any construct or call signatures.
132 <Portal container={container}>
~~~~~~
src/components/LazyComponent.tsx:8:30 - error TS7016: Could not find a declaration file for module 'react-visibility-sensor'. '/Users/likenan/git/easymis/amis/node_modules/react-visibility-sensor/visibility-sensor.js' implicitly has an 'any' type.
Try `npm install @types/react-visibility-sensor` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-visibility-sensor';`
8 import VisibilitySensor from 'react-visibility-sensor';
~~~~~~~~~~~~~~~~~~~~~~~~~
src/components/Range.tsx:56:9 - error TS2769: No overload matches this call.
Overload 1 of 2, '(props: Readonly<InputRangeProps>): InputRange', gave the following error.
Type '{ className: string | undefined; classNames: { activeTrack: string; disabledInputRange: string; inputRange: string; labelContainer: string; maxLabel: string; minLabel: string; slider: string; sliderContainer: string; track: string; valueLabel: string; }; ... 15 more ...; children?: ReactNode; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<InputRange> & Readonly<InputRangeProps> & Readonly<...>'.
Property 'className' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<InputRange> & Readonly<InputRangeProps> & Readonly<...>'.
Overload 2 of 2, '(props: InputRangeProps, context?: any): InputRange', gave the following error.
Type '{ className: string | undefined; classNames: { activeTrack: string; disabledInputRange: string; inputRange: string; labelContainer: string; maxLabel: string; minLabel: string; slider: string; sliderContainer: string; track: string; valueLabel: string; }; ... 15 more ...; children?: ReactNode; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<InputRange> & Readonly<InputRangeProps> & Readonly<...>'.
Property 'className' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<InputRange> & Readonly<InputRangeProps> & Readonly<...>'.
56 className={className}
~~~~~~~~~
src/components/Textarea.tsx:1:22 - error TS7016: Could not find a declaration file for module 'react-textarea-autosize'. '/Users/likenan/git/easymis/amis/node_modules/react-textarea-autosize/lib/index.js' implicitly has an 'any' type.
Try `npm install @types/react-textarea-autosize` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-textarea-autosize';`
1 import Textarea from 'react-textarea-autosize';
~~~~~~~~~~~~~~~~~~~~~~~~~
src/renderers/Audio.tsx:128:7 - error TS2322: Type 'Timeout' is not assignable to type 'number'.
128 this.progressTimeout = setTimeout(
~~~~~~~~~~~~~~~~~~~~
src/renderers/Audio.tsx:216:7 - error TS2322: Type 'Timeout' is not assignable to type 'number'.
216 this.durationTimeout = setTimeout(this.onDurationCheck, 500);
~~~~~~~~~~~~~~~~~~~~
src/renderers/Carousel.tsx:140:7 - error TS2322: Type 'Timeout' is not assignable to type 'number'.
140 this.intervalTimeout = setTimeout(this.autoSlide, this.props.interval);
~~~~~~~~~~~~~~~~~~~~
src/renderers/Carousel.tsx:164:5 - error TS2322: Type 'Timeout' is not assignable to type 'number'.
164 this.durationTimeout = setTimeout(
~~~~~~~~~~~~~~~~~~~~
src/renderers/Container.tsx:27:16 - error TS2349: This expression is not callable.
Not all constituents of type '((ContainerProps & T)["children"] & null) | ((ContainerProps & T)["children"] & string) | ((ContainerProps & T)["children"] & number) | ... 5 more ... | ((ContainerProps & T)["children"] & ReactPortal)' are callable.
Type '(ContainerProps & T)["children"] & null' has no call signatures.
27 ? (children(this.props) as JSX.Element)
~~~~~~~~
src/renderers/Container.tsx:30:29 - error TS2345: Argument of type '(undefined & T["body"]) | (string & T["body"]) | (number & T["body"]) | (Schema & T["body"]) | (SchemaArray & T["body"])' is not assignable to parameter of type 'SchemaNode'.
Type 'undefined & T["body"]' is not assignable to type 'SchemaNode'.
Type 'undefined & T["body"]' is not assignable to type 'SchemaArray'.
30 ? (render('body', body) as JSX.Element)
~~~~
src/renderers/DropDownButton.tsx:86:8 - error TS2604: JSX element type 'RootCloseWrapper' does not have any construct or call signatures.
86 <RootCloseWrapper
~~~~~~~~~~~~~~~~
src/renderers/Form/Array.tsx:39:8 - error TS2739: Type '{ controls: (Schema & { unique?: boolean | undefined; })[]; flat: true; multiple: true; multiLine: false; ref: (ref: any) => void; placeholder?: string | undefined; minLength?: number | undefined; ... 48 more ...; children?: ReactNode; }' is missing the following properties from type 'Readonly<ComboProps>': dragIcon, deleteIcon, tabsMode, tabsStyle
39 <Combo
~~~~~
src/renderers/Form/Button.tsx:6:18 - error TS2320: Interface 'ButtonProps' cannot simultaneously extend types 'FormControlProps' and 'Button'.
Named property 'disabled' of types 'FormControlProps' and 'Button' are not identical.
6 export interface ButtonProps extends FormControlProps, Button {}
~~~~~~~~~~~
src/renderers/Form/Button.tsx:6:18 - error TS2320: Interface 'ButtonProps' cannot simultaneously extend types 'FormControlProps' and 'Button'.
Named property 'size' of types 'FormControlProps' and 'Button' are not identical.
6 export interface ButtonProps extends FormControlProps, Button {}
~~~~~~~~~~~
src/renderers/Form/Container.tsx:35:15 - error TS2532: Object is possibly 'undefined'.
35 data: store.data,
~~~~~
src/renderers/Form/Grid.tsx:39:28 - error TS2559: Type 'Schema' has no properties in common with type 'FormSchema'.
39 {renderFormItems(node, ($path as string).replace(/^.*form\//, ''), {
~~~~
src/renderers/Form/Grid.tsx:43:19 - error TS2532: Object is possibly 'undefined'.
43 data: store.data,
~~~~~
src/renderers/Form/HBox.tsx:9:11 - error TS2430: Interface 'HBoxProps' incorrectly extends interface 'FormControlProps'.
Type 'HBoxProps' is not assignable to type 'FormItemProps'.
Types of property 'size' are incompatible.
Type 'string | undefined' is not assignable to type '"xs" | "sm" | "md" | "lg" | "full" | undefined'.
Type 'string' is not assignable to type '"xs" | "sm" | "md" | "lg" | "full" | undefined'.
9 interface HBoxProps extends FormControlProps {
~~~~~~~~~
src/renderers/Form/HBox.tsx:13:2 - error TS2345: Argument of type 'typeof HBoxRenderer' is not assignable to parameter of type 'ComponentType<FormControlProps>'.
Type 'typeof HBoxRenderer' is not assignable to type 'ComponentClass<FormControlProps, any>'.
The types of 'defaultProps.size' are incompatible between these types.
Type 'string | undefined' is not assignable to type '"xs" | "sm" | "md" | "lg" | "full" | undefined'.
Type 'string' is not assignable to type '"xs" | "sm" | "md" | "lg" | "full" | undefined'.
13 @FormItem({
~~~~~~~~~~
14 type: 'hbox',
~~~~~~~~~~~~~~~
...
16 sizeMutable: false
~~~~~~~~~~~~~~~~~~~~
17 })
~~
src/renderers/Form/HBox.tsx:56:30 - error TS2559: Type 'Schema' has no properties in common with type 'FormSchema'.
56 return renderFormItems(node, ($path as string).replace(/^.*form\//, ''), {
~~~~
src/renderers/Form/HBox.tsx:64:15 - error TS2532: Object is possibly 'undefined'.
64 data: store.data,
~~~~~
src/renderers/Form/IconPicker.tsx:3:25 - error TS7016: Could not find a declaration file for module 'match-sorter'. '/Users/likenan/git/easymis/amis/node_modules/match-sorter/dist/match-sorter.cjs.js' implicitly has an 'any' type.
Try `npm install @types/match-sorter` if it exists or add a new declaration (.d.ts) file containing `declare module 'match-sorter';`
3 import matchSorter from 'match-sorter';
~~~~~~~~~~~~~~
src/renderers/Form/InputGroup.tsx:15:18 - error TS2430: Interface 'InputGroupProps' incorrectly extends interface 'FormControlProps'.
Type 'InputGroupProps' is not assignable to type 'FormItemProps'.
Types of property 'size' are incompatible.
Type '"normal" | "xs" | "sm" | undefined' is not assignable to type '"xs" | "sm" | "md" | "lg" | "full" | undefined'.
Type '"normal"' is not assignable to type '"xs" | "sm" | "md" | "lg" | "full" | undefined'.
15 export interface InputGroupProps extends FormControlProps {
~~~~~~~~~~~~~~~
src/renderers/Form/InputGroup.tsx:83:31 - error TS2532: Object is possibly 'undefined'.
83 const formItem = name ? formStore.getItemByName(name) : null;
~~~~~~~~~
src/renderers/Form/InputGroup.tsx:118:42 - error TS2345: Argument of type 'FormHorizontal' is not assignable to parameter of type '{ left: string; right: string; offset: string; leftFixed?: any; }'.
Types of property 'left' are incompatible.
Type 'string | number' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
118 horizontal || makeHorizontalDeeper(formHorizontal, controls.length);
~~~~~~~~~~~~~~
src/renderers/Form/InputGroup.tsx:165:2 - error TS2345: Argument of type 'typeof InputGroupRenderer' is not assignable to parameter of type 'ComponentType<FormControlProps>'.
Type 'typeof InputGroupRenderer' is not assignable to type 'ComponentClass<FormControlProps, any>'.
Types of parameters 'props' and 'props' are incompatible.
Property 'controls' is missing in type 'FormControlProps' but required in type 'InputGroupProps'.
165 @FormItem({
~~~~~~~~~~
166 type: 'input-group',
~~~~~~~~~~~~~~~~~~~~~~
167 strictMode: false
~~~~~~~~~~~~~~~~~~~
168 })
~~
src/renderers/Form/InputGroup.tsx:16:3
16 controls: Array<any>;
~~~~~~~~
'controls' is declared here.
src/renderers/Form/Item.tsx:734:17 - error TS4060: Return type of exported function has or is using private name 'FormItemRenderer'.
734 export function asFormItem(config: Omit<FormItemConfig, 'component'>) {
~~~~~~~~~~
src/renderers/Form/NestedSelect.tsx:296:8 - error TS2604: JSX element type 'RootCloseWrapper' does not have any construct or call signatures.
296 <RootCloseWrapper
~~~~~~~~~~~~~~~~
src/renderers/Form/Number.tsx:4:25 - error TS7016: Could not find a declaration file for module 'rc-input-number'. '/Users/likenan/git/easymis/amis/node_modules/rc-input-number/lib/index.js' implicitly has an 'any' type.
Try `npm install @types/rc-input-number` if it exists or add a new declaration (.d.ts) file containing `declare module 'rc-input-number';`
4 import InputNumber from 'rc-input-number';
~~~~~~~~~~~~~~~~~
src/renderers/Form/Radios.tsx:75:9 - error TS2322: Type 'boolean | undefined' is not assignable to type 'boolean'.
Type 'undefined' is not assignable to type 'boolean'.
75 extractValue={extractValue}
~~~~~~~~~~~~
src/components/Checkboxes.tsx:33:3
33 extractValue: boolean;
~~~~~~~~~~~~
The expected type comes from property 'extractValue' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Props, any, any>> & Readonly<Props> & Readonly<...>'
src/renderers/Form/Radios.tsx:76:9 - error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
76 delimiter={delimiter}
~~~~~~~~~
src/components/Checkboxes.tsx:34:3
34 delimiter: string;
~~~~~~~~~
The expected type comes from property 'delimiter' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Props, any, any>> & Readonly<Props> & Readonly<...>'
src/renderers/Form/Rating.tsx:40:11 - error TS2322: Type '"xs" | "sm" | "md" | "lg" | "full" | undefined' is not assignable to type 'number | undefined'.
Type '"xs"' is not assignable to type 'number | undefined'.
40 size={size}
~~~~
src/components/Rating.tsx:18:3
18 size: number;
~~~~
The expected type comes from property 'size' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Props, any, any>> & Readonly<Props> & Readonly<...>'
src/renderers/Form/Repeat.tsx:192:13 - error TS2322: Type 'string | null' is not assignable to type 'string | undefined'.
Type 'null' is not assignable to type 'string | undefined'.
192 className={input ? 'pull-right' : null}
~~~~~~~~~
src/components/Select.tsx:181:3
181 className?: string;
~~~~~~~~~
The expected type comes from property 'className' which is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Props, any, any>> & Readonly<Props> & Readonly<...>'
src/renderers/Form/Tag.tsx:6:25 - error TS7016: Could not find a declaration file for module 'match-sorter'. '/Users/likenan/git/easymis/amis/node_modules/match-sorter/dist/match-sorter.cjs.js' implicitly has an 'any' type.
Try `npm install @types/match-sorter` if it exists or add a new declaration (.d.ts) file containing `declare module 'match-sorter';`
6 import matchSorter from 'match-sorter';
~~~~~~~~~~~~~~
src/renderers/Form/Tag.tsx:335:12 - error TS2604: JSX element type 'Portal' does not have any construct or call signatures.
335 <Portal container={this.getParent}>
~~~~~~
src/renderers/Json.tsx:130:19 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ twilight: { scheme: string; author: string; base00: string; base01: string; base02: string; base03: string; base04: string; base05: string; base06: string; base07: string; base08: string; base09: string; ... 6 more ...; tree: { ...; }; }; eighties: { ...; }; }'.
No index signature with a parameter of type 'string' was found on type '{ twilight: { scheme: string; author: string; base00: string; base01: string; base02: string; base03: string; base04: string; base05: string; base06: string; base07: string; base08: string; base09: string; ... 6 more ...; tree: { ...; }; }; eighties: { ...; }; }'.
130 const theme = themes[jsonTheme] ? themes[jsonTheme] : themes['twilight'];
~~~~~~~~~~~~~~~~~
src/renderers/Json.tsx:130:39 - error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ twilight: { scheme: string; author: string; base00: string; base01: string; base02: string; base03: string; base04: string; base05: string; base06: string; base07: string; base08: string; base09: string; ... 6 more ...; tree: { ...; }; }; eighties: { ...; }; }'.
No index signature with a parameter of type 'string' was found on type '{ twilight: { scheme: string; author: string; base00: string; base01: string; base02: string; base03: string; base04: string; base05: string; base06: string; base07: string; base08: string; base09: string; ... 6 more ...; tree: { ...; }; }; eighties: { ...; }; }'.
130 const theme = themes[jsonTheme] ? themes[jsonTheme] : themes['twilight'];
~~~~~~~~~~~~~~~~~
src/renderers/Operation.tsx:28:17 - error TS2327: Property 'link' is optional in type '{ actionType?: "link" | "add" | "reload" | "cancel" | "dialog" | "close" | "submit" | "copy" | "next" | "prev" | "url" | "delete" | "ajax" | "drawer" | "jump" | "confirm" | "remove" | "edit" | undefined; ... 19 more ...; level: any; }' but required in type 'SchemaNode'.
28 {
~
29 type: 'button',
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
34 ...button
~~~~~~~~~~~~~~~~~~~~~~~~~~~
35 },
~~~~~~~~~~~~~~~~~
src/renderers/QRCode.tsx:6:20 - error TS7016: Could not find a declaration file for module 'qrcode.react'. '/Users/likenan/git/easymis/amis/node_modules/qrcode.react/lib/index.js' implicitly has an 'any' type.
Try `npm install @types/qrcode.react` if it exists or add a new declaration (.d.ts) file containing `declare module 'qrcode.react';`
6 import QrCode from 'qrcode.react';
~~~~~~~~~~~~~~
src/renderers/Service.tsx:126:8 - error TS2322: Type 'Timeout' is not assignable to type 'number'.
126 (this.timer = setTimeout(
~~~~~~~~~~
src/renderers/Video.tsx:14:8 - error TS7016: Could not find a declaration file for module 'video-react'. '/Users/likenan/git/easymis/amis/node_modules/video-react/dist/index.js' implicitly has an 'any' type.
Try `npm install @types/video-react` if it exists or add a new declaration (.d.ts) file containing `declare module 'video-react';`
14 } from 'video-react';
~~~~~~~~~~~~~
src/store/crud.ts:125:40 - error TS7030: Not all code paths return a value.
125 ) => Promise<any> = flow(function* getInitData(
~~~~~~~~~~~
src/store/service.ts:67:40 - error TS7030: Not all code paths return a value.
67 ) => Promise<any> = flow(function* getInitData(
~~~~~~~~~~~
src/store/service.ts:152:40 - error TS7030: Not all code paths return a value.
152 ) => Promise<any> = flow(function* getInitData(
~~~~~~~~~~~
src/utils/dom.tsx:73:7 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
73 ({width, height} = getOffset(containerNode));
~~~~~
src/utils/dom.tsx:73:14 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
73 ({width, height} = getOffset(containerNode));
~~~~~~
src/utils/dom.tsx:151:10 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
151 const {height: overlayHeight, width: overlayWidth} = getOffset(overlayNode);
~~~~~~
src/utils/dom.tsx:151:33 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
151 const {height: overlayHeight, width: overlayWidth} = getOffset(overlayNode);
~~~~~
src/utils/dom.tsx:180:44 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
180 ? childOffset.left + childOffset.width
~~~~~
src/utils/dom.tsx:181:44 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
181 : childOffset.left + childOffset.width / 2;
~~~~~
src/utils/dom.tsx:186:43 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
186 ? childOffset.top + childOffset.height
~~~~~~
src/utils/dom.tsx:187:43 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
187 : childOffset.top + childOffset.height / 2;
~~~~~~
src/utils/dom.tsx:226:53 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
226 positionLeft = childOffset.left + childOffset.width;
~~~~~
src/utils/dom.tsx:229:50 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
229 positionTop = childOffset.top + (childOffset.height - overlayHeight) / 2;
~~~~~~
src/utils/dom.tsx:246:51 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
246 positionTop = childOffset.top + childOffset.height;
~~~~~~
src/utils/dom.tsx:249:52 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
249 positionLeft = childOffset.left + (childOffset.width - overlayWidth) / 2;
~~~~~
src/utils/dom.tsx:261:52 - error TS2339: Property 'width' does not exist on type 'DomHelpersRect'.
261 positionLeft = childOffset.left + (childOffset.width - overlayWidth) / 2;
~~~~~
src/utils/dom.tsx:262:50 - error TS2339: Property 'height' does not exist on type 'DomHelpersRect'.
262 positionTop = childOffset.top + (childOffset.height - overlayHeight) / 2;
~~~~~~
src/utils/json-schema-2-amis-schema.ts:10:51 - error TS2339: Property 'min' does not exist on type '{}'.
10 typeof property.minimum === 'number' && (rest.min = property.minimum);
~~~
src/utils/json-schema-2-amis-schema.ts:17:12 - error TS2339: Property 'controls' does not exist on type '{}'.
17 rest.controls = makeControls(items.properties, items);
~~~~~~~~
src/utils/json-schema-2-amis-schema.ts:18:12 - error TS2339: Property 'multiLine' does not exist on type '{}'.
18 rest.multiLine = true;
~~~~~~~~~
src/utils/json-schema-2-amis-schema.ts:21:12 - error TS2339: Property 'inline' does not exist on type '{}'.
21 rest.inline = true;
~~~~~~
src/utils/json-schema-2-amis-schema.ts:22:12 - error TS2339: Property 'items' does not exist on type '{}'.
22 rest.items = property2control(items, 'item', property);
~~~~~
src/utils/json-schema-2-amis-schema.ts:26:10 - error TS2339: Property 'options' does not exist on type '{}'.
26 rest.options = property.enum;
~~~~~~~
src/utils/json-schema-2-amis-schema.ts:30:17 - error TS2339: Property 'minimum' does not exist on type '{}'.
30 validations.minimum = property.minimum;
~~~~~~~
Found 72 errors.
现在应该没了