SolidOS / solid-ui

User Interface widgets and utilities for Solid
https://solidos.github.io/solid-ui/dist/solid-ui.js
MIT License
148 stars 41 forks source link

typescript build issue #447

Closed bourgeoa closed 2 years ago

bourgeoa commented 3 years ago

@theRealImy Could you help All latest CI of commits fail with typescript issues related to solidLogic. Typescript definition seems to be here https://github.com/solid/solid-logic/blob/main/src/index.ts, but in fact missing from rdflib I also found some coffeeScript in rdflib.js in reference/term.coffee. Have these been typescript defined ?

And as allways the strange thing : everything builds OK locally.

Error: src/authn/authn.ts(1474,41): error TS2339: Property 'anyValue' does not exist on type 'LiveStore'.
Error: src/matrix/matrix.ts(223,8): error TS2339: Property 'query' does not exist on type 'LiveStore'.
Error: src/matrix/matrix.ts(248,6): error TS2339: Property 'query' does not exist on type 'LiveStore'.
Error: src/pad.ts(580,13): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/pad.ts(588,18): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/pad.ts(656,22): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/pad.ts(658,18): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/pad.ts(680,22): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/pad.ts(682,18): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/participation.ts(45,19): error TS2339: Property 'anyValue' does not exist on type 'LiveStore'.
Error: src/participation.ts(65,18): error TS2339: Property 'anyValue' does not exist on type 'LiveStore'.
Error: src/tabs.ts(256,21): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/widgets/buttons.ts(388,20): error TS2339: Property 'findTypeURIs' does not exist on type 'LiveStore'.
Error: src/widgets/buttons.ts(1298,18): error TS2339: Property 'findSuperClassesNT' does not exist on type 'LiveStore'.
Error: src/widgets/buttons.ts(1300,31): error TS2339: Property 'fromNT' does not exist on type 'LiveStore'.
Error: src/widgets/buttons.ts(1405,26): error TS2339: Property 'findTypeURIs' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(49,25): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(77,25): error TS2339: Property 'the' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(136,15): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(159,23): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(163,40): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(168,45): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(172,32): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(181,38): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/autocomplete/autocompleteField.ts(190,33): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/basic.ts(136,38): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/basic.ts(148,19): error TS2339: Property 'anyJS' does not exist on type 'LiveStore'.
Error: src/widgets/forms/fieldFunction.ts(30,17): error TS2339: Property 'findTypeURIs' does not exist on type 'LiveStore'.
Error: src/widgets/forms/fieldFunction.ts(31,18): error TS2339: Property 'bottomTypeURIs' does not exist on type 'LiveStore'.
timbl commented 3 years ago

There has been a lot of work put into adding types to rdflib by @megoth and others in the past.