quill
quill copied to clipboard
Building 2.0: The inferred type of 'table' cannot be named without a reference to ...
Doing git clone for the current development branch ([email protected]), npm install and then npm run build will give this:
Using the latest node (19). Tried to remove package-lock.json before npm install too, which didn't help.
npm run build
> [email protected] build
> npm run lint && npm run build:typescript && npm run build:webpack
> [email protected] lint
> npm run lint:eslint && npm run lint:tsc
> [email protected] lint:eslint
> eslint .
> [email protected] lint:tsc
> tsc --noEmit --skipLibCheck
> [email protected] build:typescript
> tsc
formats/table.ts:55:3 - error TS2742: The inferred type of 'table' cannot be named without a reference to 'quill-fork/node_modules/parchment/dist/typings/blot/abstract/blot'. This is likely not portable. A type annotation is necessary.
55 table() {
~~~~~
formats/table.ts:111:3 - error TS2742: The inferred type of 'table' cannot be named without a reference to 'quill-fork/node_modules/parchment/dist/typings/blot/abstract/blot'. This is likely not portable. A type annotation is necessary.
111 table() {
~~~~~
modules/syntax.ts:85:3 - error TS2742: The inferred type of 'replaceWith' cannot be named without a reference to 'quill-fork/node_modules/parchment/dist/typings/blot/abstract/blot'. This is likely not portable. A type annotation is necessary.
85 replaceWith(name: string, value: unknown) {
~~~~~~~~~~~
Found 3 errors in 2 files.
Errors Files
2 formats/table.ts:55
1 modules/syntax.ts:85
Please test v2.0.0-rc.0