Open connorjclark opened 3 days ago
process issue: the process-global.js
file was mucking things up. adding to tsconfig exclude
clearTimeout issue: we were using an older interface - NodeJS.Timer - which is no longer getting updates. Such as adding the dispose
symbol. I filed a bug
remaining:
core/gather/gatherers/link-elements.js(106,7): error TS2353: Object literal may only specify known properties, and 'dependencies' does not exist in type 'GathererMetaNoDependencies'.
core/test/config/validation-test.js(92,9): error TS2322: Type '{ id: string; gatherer: { instance: LinkElements; }; dependencies: { DevtoolsLog: { id: string; }; }; }' is not assignable to type 'AnyArtifactDefn'.
The types of 'gatherer.instance.meta' are incompatible between these types.
Property 'dependencies' is missing in type 'GathererMetaNoDependencies' but required in type 'GathererMetaWithDependencies<"DevtoolsLog">'.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Upgrades typescript from 5.0.4 to 5.52
....or rather, tries to. I found that 5.1 has introduced errors that I cannot resolve:
summarizing above:
setTimeout
seems to be using the browser definition instead of the Node one, so it doesn't like us giving it NodeJS.Timeoutany
so many cascading errors from that in cliLH.Gatherer.GathererMeta