Closed GroofyIT closed 2 years ago
Are you on the latest TS version?
The project is a StencilJS project (older version) which seems to use typescript@3.5.2 internally rather than the project wide defined 4.5 version.
I think you need to upgrade to at least typescript@3.8.0 (when type
keyword for imports got introduced), so you could upgrade StencilJS or maybe force the resolution of a newer TS version. Not much this library can do though.
dom @ 0.1.8 core @ 0.2.2
Experiencing following typescript errors :
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/computePosition.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/computePosition.d.ts:1:38 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:103 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/arrow.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/arrow.d.ts:1:42 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts:1:55 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/flip.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/flip.d.ts:1:44 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/hide.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/hide.d.ts:1:33 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/offset.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/offset.d.ts:1:58 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/shift.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/shift.d.ts:1:79 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/dom/src/types.d.ts:1:13 '=' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/dom/src/types.d.ts:1:66 ';' expected.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/computePosition.d.ts:1:15 Cannot find name 'ComputePosition'. Did you mean 'computePosition'?
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/computePosition.d.ts:1:33 Cannot find name 'from'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/computePosition.d.ts:2:39 Cannot find name 'ComputePosition'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:15 Cannot find name 'SideObject'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:15 Left side of comma operator is unused and has no side effects.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:27 Cannot find name 'Padding'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:36 Cannot find name 'Boundary'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:46 Cannot find name 'RootBoundary'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:60 Cannot find name 'ElementContext'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:76 Cannot find name 'MiddlewareArguments'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/detectOverflow.d.ts:1:98 Cannot find name 'from'.
[ ERROR ] TypeScript: node_modules/@floating-ui/core/src/middleware/arrow.d.ts:1:15 Cannot find name 'Middleware'.