We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: node_modules/ngx-file-drop/lib/ngx-file-drop.component.d.ts:66:90 - error TS2344: Type '{ accept: { alias: "accept"; required: false; }; directory: { alias: "directory"; required: false; }; multiple: { alias: "multiple"; required: false; }; dropZoneLabel: { alias: "dropZoneLabel"; required: false; }; ... 6 more ...; disabled: { ...; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"accept"' is incompatible with index signature. Type '{ alias: "accept"; required: false; }' is not assignable to type 'string'.
66 static ɵcmp: i0.ɵɵComponentDeclaration<NgxFileDropComponent, "ngx-file-drop", never, { "accept": { "alias": "accept"; "required": false; }; "directory": { "alias": "directory"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "dropZoneLabel": { "alias": "dropZoneLabel"; "required": false; }; "dropZoneClassName": { "alias": "dropZoneClassName"; "required": false; }; "useDragEnter": { "alias": "useDragEnter"; "required": false; }; "contentClassName": { "alias": "contentClassName"; "required": false; }; "showBrowseBtn": { "alias": "showBrowseBtn"; "required": false; }; "browseBtnClassName": { "alias": "browseBtnClassName"; "required": false; }; "browseBtnLabel": { "alias": "browseBtnLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onFileDrop": "onFileDrop"; "onFileOver": "onFileOver"; "onFileLeave": "onFileLeave"; }, ["contentTemplate"], never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✖ Failed to compile.
I am getting this error
The text was updated successfully, but these errors were encountered:
I am getting same error too
Sorry, something went wrong.
i fixed that issue when i install lower versions
npm i [email protected]
they have not fixed it yet!
No branches or pull requests
Error: node_modules/ngx-file-drop/lib/ngx-file-drop.component.d.ts:66:90 - error TS2344: Type '{ accept: { alias: "accept"; required: false; }; directory: { alias: "directory"; required: false; }; multiple: { alias: "multiple"; required: false; }; dropZoneLabel: { alias: "dropZoneLabel"; required: false; }; ... 6 more ...; disabled: { ...; }; }' does not satisfy the constraint '{ [key: string]: string; }'.
Property '"accept"' is incompatible with index signature.
Type '{ alias: "accept"; required: false; }' is not assignable to type 'string'.
66 static ɵcmp: i0.ɵɵComponentDeclaration<NgxFileDropComponent, "ngx-file-drop", never, { "accept": { "alias": "accept"; "required": false; }; "directory": { "alias": "directory"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "dropZoneLabel": { "alias": "dropZoneLabel"; "required": false; }; "dropZoneClassName": { "alias": "dropZoneClassName"; "required": false; }; "useDragEnter": { "alias": "useDragEnter"; "required": false; }; "contentClassName": { "alias": "contentClassName"; "required": false; }; "showBrowseBtn": { "alias": "showBrowseBtn"; "required": false; }; "browseBtnClassName": { "alias": "browseBtnClassName"; "required": false; }; "browseBtnLabel": { "alias": "browseBtnLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "onFileDrop": "onFileDrop"; "onFileOver": "onFileOver"; "onFileLeave": "onFileLeave"; }, ["contentTemplate"], never, false, never>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✖ Failed to compile.
I am getting this error
The text was updated successfully, but these errors were encountered: