quill icon indicating copy to clipboard operation
quill copied to clipboard

Building 2.0: The inferred type of 'table' cannot be named without a reference to ...

Open ile opened this issue 2 years ago • 1 comments

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

ile avatar Feb 19 '23 00:02 ile

Please test v2.0.0-rc.0

benbro avatar Feb 03 '24 11:02 benbro