Ngx-quill: Error TS2614 when linting `[email protected]`

Created on 9 May 2020  路  4Comments  路  Source: KillerCodeMonkey/ngx-quill

After updating to [email protected], I get the following linting error:

```
ERROR in node_modules/ngx-quill/lib/quill-editor.component.d.ts:3:21 - error TS2614: Module '"../../@types/quill"' has no exported member 'Delta'. Did you mean to use 'import Delta from "../../@types/quill"' instead?

3 import QuillType, { Delta } from 'quill';
```

Most helpful comment

install @types/quill 1.3.10 as dev dependency

All 4 comments

install @types/quill 1.3.10 as dev dependency

We are already using "@types/quill": "2.0.3". Are you suggesting we need to downgrade?

in general the @typings should match the real package version.

so @types/quill 2.0.3 are for quilljs 2.x
latest version for quilljs is 1.3.10 ;-)

Since i only want to support stable quill version i do not support quilljs 2 dev versions, yet.

i think quilljs 1.3.7 and @types/quill 1.3.10 should fix your issue.

Oops, got it. Thanks so much for your fast, helpful replies鈥攁nd for maintaining this library!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yarik-vv picture yarik-vv  路  3Comments

chuJianNi picture chuJianNi  路  3Comments

Fzwael picture Fzwael  路  3Comments

luksireiku picture luksireiku  路  5Comments

Rlcolli4 picture Rlcolli4  路  3Comments