node_modules libraries throwing build issues with skipLibCheck to falsein angular 11 project
Attached the sample project
Errors are as below when I try to run the application with npm start
Error: node_modules/@swim/client/lib/main/downlink/ListDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ListDownlinkRecord' as an accessor.
8 get downlink(): ListDownlink<Value, AnyValue>;
Error: node_modules/@swim/client/lib/main/downlink/MapDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'MapDownlinkRecord' as an accessor.
8 get downlink(): MapDownlink<Value, Value, AnyValue, AnyValue>;
Error: node_modules/@swim/client/lib/main/downlink/ValueDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ValueDownlinkRecord' as an accessor.
Error: node_modules/@swim/font/lib/main/Font.d.ts:56:562 - error TS2307: Cannot find module '../../length/main' or its corresponding type declarations.
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:204 - error TS2307: Cannot find module '../../../../swim-core-js/@swim/time/main' or its corresponding type declarations.
21 form(unit?: string | number | boolean | BoxShadow | Length | Color | BoxShadowInit | import("./BoxShadow").BoxShadowArray | RgbColorInit | HslColorInit | DateTime | Angle | Font | Transform | import("../../../../swim-core-js/@swim/time/main").DateTimeInit | Date | import("../../font/main").FontInit | Interpolator<any, any> | Scale<any, any, any, any> | Transition<any> | TransitionInit<any> | TransitionInit<any> | undefined): Form<StyleValue, AnyStyleValue>;
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:277 - error TS2307: Cannot find module '../../font/main' or its corresponding type declarations.
node_modules libraries throwing build issues with
skipLibCheck to false
in angular 11 projectAttached the sample project
Errors are as below when I try to run the application with
npm start
Error: node_modules/@swim/client/lib/main/downlink/ListDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ListDownlinkRecord' as an accessor.
8 get downlink(): ListDownlink<Value, AnyValue>;
Error: node_modules/@swim/client/lib/main/downlink/ValueDownlinkRecord.d.ts:8:9 - error TS2611: 'downlink' is defined as a property in class 'DownlinkRecord', but is overridden here in 'ValueDownlinkRecord' as an accessor.
8 get downlink(): ValueDownlink<Value, AnyValue>;
Error: node_modules/@swim/font/lib/main/Font.d.ts:56:562 - error TS2307: Cannot find module '../../length/main' or its corresponding type declarations.
56 static from(style: "normal" | "italic" | "oblique" | null | undefined, variant: "normal" | "small-caps" | null | undefined, weight: "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "bold" | "bolder" | "lighter" | null | undefined, stretch: "normal" | "ultra-condensed" | "extra-condensed" | "semi-condensed" | "condensed" | "expanded" | "semi-expanded" | "extra-expanded" | "ultra-expanded" | null | undefined, size: string | number | import("../../length/main").Length | null | undefined, height: string | number | import("../../length/main").Length | null | undefined, family: FontFamily | ReadonlyArray): Font;
Error: node_modules/@swim/style/lib/main/StyleValue.d.ts:21:277 - error TS2307: Cannot find module '../../font/main' or its corresponding type declarations.
21 form(unit?: string | number | boolean | BoxShadow | Length | Color | BoxShadowInit | import("./BoxShadow").BoxShadowArray | RgbColorInit | HslColorInit | DateTime | Angle | Font | Transform | import("../../../../swim-core-js/@swim/time/main").DateTimeInit | Date | import("../../font/main").FontInit | Interpolator<any, any> | Scale<any, any, any, any> | Transition | TransitionInit | TransitionInit | undefined): Form<StyleValue, AnyStyleValue>;