cam-express TypeChecking report

src/CamService.js:60:29: error TS7006: Parameter 'i' implicitly has an 'any' type. src/CamService.js:122:21: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/CamService.js:260:26: error TS2345: Argument of type 'Camera | undefined' is not assignable to parameter of type 'Camera'. src/CamService.js:309:28: error TS2345: Argument of type 'CameraConfig' is not assignable to parameter of type 'Camera'. src/CamService.js:312:30: error TS18046: 'err' is of type 'unknown'. src/CamService.js:345:26: error TS2345: Argument of type 'Camera | undefined' is not assignable to parameter of type 'Camera'. src/CamService.js:362:28: error TS2345: Argument of type 'CameraConfig' is not assignable to parameter of type 'Camera'. src/CamService.js:365:39: error TS18046: 'err' is of type 'unknown'. src/CamService.js:379:26: error TS2694: Namespace 'CamExpress' has no exported member 'ExposedConfig'. src/CamService.js:383:7: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/CamService.js:389:33: error TS2339: Property 'ptz' does not exist on type '{ name: string; description: string; }'. src/CamService.js:390:40: error TS2339: Property 'screenshot' does not exist on type '{ name: string; description: string; }'. src/CamService.js:391:22: error TS2339: Property 'extra' does not exist on type 'Camera'. src/CamService.js:391:57: error TS2339: Property 'extra' does not exist on type 'Camera'. src/CamService.js:434:68: error TS2339: Property 'message' does not exist on type 'Error | Buffer'. src/CamService.js:453:6: error TS2339: Property 'status' does not exist on type 'OutgoingMessage'. src/CamService.js:487:37: error TS18046: 'err' is of type 'unknown'. src/CamService.js:531:5: error TS2740: Type 'StreamClient' is missing the following properties from type 'StreamClient': addListener, on, once, removeListener, and 11 more. src/CamService.js:593:20: error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'. src/StreamClient.js:17:31: error TS1005: '}' expected. src/StreamClient.js:18:5: error TS2322: Type '(arg: Error | Buffer) => void' is not assignable to type 'Error | Buffer'. src/StreamClient.js:28:12: error TS2349: This expression is not callable. src/StreamClient.js:66:12: error TS2349: This expression is not callable. src/consumers/ConsumerFactory.js:74:5: error TS2741: Property 'updateThrottle' is missing in type 'import("src/consumers/MultiplexConsumer").default' but required in type 'CamExpress.MultiplexConsumer'. src/consumers/ConsumerFactory.js:88:7: error TS2322: Type 'string | undefined' is not assignable to type 'string'. src/consumers/ConsumerFactory.js:91:7: error TS2322: Type 'string | undefined' is not assignable to type 'string'. src/consumers/ConsumerFactory.js:105:7: error TS2322: Type 'string | undefined' is not assignable to type 'string'. src/consumers/HTTPConsumer.js:52:23: error TS7006: Parameter 'err' implicitly has an 'any' type. src/consumers/HTTPConsumer.js:61:18: error TS7006: Parameter 'throttle' implicitly has an 'any' type. src/consumers/MJPEGConsumer.js:28:23: error TS7016: Could not find a declaration file for module 'content-type'. 'node_modules/content-type/index.js' implicitly has an 'any' type. src/consumers/MJPEGConsumer.js:54:22: error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation. src/consumers/MJPEGConsumer.js:100:23: error TS7006: Parameter 'err' implicitly has an 'any' type. src/consumers/MJPEGConsumer.js:111:18: error TS7006: Parameter 'throttle' implicitly has an 'any' type. src/consumers/MJPEGConsumer.js:198:44: error TS2531: Object is possibly 'null'. src/consumers/MJPEGConsumer.js:210:49: error TS2345: Argument of type 'Buffer | null' is not assignable to parameter of type 'string | number | Uint8Array'. src/consumers/MJPEGConsumer.js:214:50: error TS2531: Object is possibly 'null'. src/consumers/MJPEGConsumer.js:239:46: error TS2531: Object is possibly 'null'. src/consumers/MultiplexConsumer.js:44:23: error TS7006: Parameter 'err' implicitly has an 'any' type. src/consumers/MultiplexConsumer.js:68:33: error TS2532: Object is possibly 'undefined'. src/consumers/MultiplexConsumer.js:68:57: error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. src/consumers/MultiplexConsumer.js:150:41: error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. src/ptz/AxisPTZ.js:37:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/ptz/AxisPTZ.js:46:12: error TS2339: Property 'auth' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:57:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/ptz/AxisPTZ.js:65:12: error TS2339: Property 'auth' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:77:11: error TS7053: Element implicitly has an 'any' type because expression of type '"autoiris" | "autofocus"' can't be used to index type '{}'. src/ptz/AxisPTZ.js:80:11: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/ptz/AxisPTZ.js:103:21: error TS7006: Parameter 'params' implicitly has an 'any' type. src/ptz/AxisPTZ.js:108:12: error TS2339: Property 'auth' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:111:10: error TS2339: Property 'params' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:113:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/ptz/AxisPTZ.js:118:37: error TS2339: Property 'params' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:128:22: error TS7006: Parameter 'params' implicitly has an 'any' type. src/ptz/AxisPTZ.js:133:12: error TS2339: Property 'auth' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:136:10: error TS2339: Property 'params' does not exist on type '{ timeout: number; }'. src/ptz/AxisPTZ.js:138:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. src/ptz/AxisPTZ.js:142:37: error TS2339: Property 'params' does not exist on type '{ timeout: number; }'. src/ptz/PTZDevice.js:13:15: error TS7006: Parameter 'options' implicitly has an 'any' type. src/ptz/PTZDevice.js:25:21: error TS7006: Parameter '_req' implicitly has an 'any' type. src/ptz/PTZDevice.js:25:27: error TS7006: Parameter '_res' implicitly has an 'any' type. src/ptz/PTZService.js:71:42: error TS2339: Property 'getLimits' does not exist on type 'typeof import("src/ptz/PTZDevice")'. src/ptz/PTZService.js:103:42: error TS2339: Property 'getPosition' does not exist on type 'typeof import("src/ptz/PTZDevice")'. src/ptz/PTZService.js:148:47: error TS2339: Property 'putPosition' does not exist on type 'typeof import("src/ptz/PTZDevice")'. src/ptz/PTZService.js:191:47: error TS2339: Property 'postPosition' does not exist on type 'typeof import("src/ptz/PTZDevice")'. src/ptz/PTZService.js:207:42: error TS2339: Property 'message' does not exist on type '{}'. src/ptz/PTZService.js:233:20: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ axis: typeof AxisPTZ; }'. src/screenshots/SShotService.js:81:14: error TS2339: Property 'auth' does not exist on type '{ timeout: number; responseType: string; }'. src/screenshots/SShotService.js:84:36: error TS2345: Argument of type '{ timeout: number; responseType: string; }' is not assignable to parameter of type 'AxiosRequestConfig'. test/async-dump.js:7:31: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/async-dump.js:9:34: error TS7016: Could not find a declaration file for module 'mocha/lib/utils.js'. 'node_modules/mocha/lib/utils.js' implicitly has an 'any' type. test/async-dump.js:21:5: error TS7034: Variable 'hook' implicitly has type 'any' in some locations where its type cannot be determined. test/async-dump.js:23:5: error TS7053: Element implicitly has an 'any' type because expression of type '"env.ASYNC_DUMP"' can't be used to index type 'Process'. test/async-dump.js:40:5: error TS7005: Variable 'hook' implicitly has an 'any' type. test/test_AxisPTZ.js:8:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_AxisPTZ.js:45:12: error TS7006: Parameter 'router' implicitly has an 'any' type. test/test_AxisPTZ.js:46:42: error TS7006: Parameter 'req' implicitly has an 'any' type. test/test_AxisPTZ.js:46:47: error TS7006: Parameter 'res' implicitly has an 'any' type. test/test_AxisPTZ.js:59:13: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ pan: number; tilt: number; zoom: number; iris: number; focus: number; brightness: number; autofocus: string; autoiris: string; }'. test/test_AxisPTZ.js:63:13: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ pan: number; tilt: number; zoom: number; iris: number; focus: number; brightness: number; autofocus: string; autoiris: string; }'. test/test_AxisPTZ.js:77:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:78:15: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:80:9: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:81:9: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:81:26: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:85:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:86:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_AxisPTZ.js:91:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_AxisPTZ.js:99:46: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:107:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_AxisPTZ.js:107:33: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:109:41: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:120:40: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:124:16: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:125:16: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:129:16: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:130:16: error TS2339: Property 'ptz' does not exist on type '{}'. test/test_AxisPTZ.js:132:51: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_AxisPTZ.js:137:17: error TS2339: Property 'response' does not exist on type 'AxiosResponse'. test/test_CamService.js:9:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_CamService.js:11:34: error TS7016: Could not find a declaration file for module 'sinon'. 'node_modules/sinon/pkg/sinon-esm.js' implicitly has an 'any' type. test/test_CamService.js:25:32: error TS7006: Parameter 'name' implicitly has an 'any' type. test/test_CamService.js:25:38: error TS7006: Parameter 'opts' implicitly has an 'any' type. test/test_CamService.js:25:44: error TS7006: Parameter 'state' implicitly has an 'any' type. test/test_CamService.js:25:51: error TS7006: Parameter 'specificTests' implicitly has an 'any' type. test/test_CamService.js:48:13: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/test_CamService.js:49:13: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/test_CamService.js:107:40: error TS7006: Parameter 'code' implicitly has an 'any' type. test/test_CamService.js:107:46: error TS7006: Parameter 'reason' implicitly has an 'any' type. test/test_CamService.js:117:5: error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation. test/test_CamService.js:120:24: error TS7006: Parameter 'test' implicitly has an 'any' type. test/test_CamService.js:134:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:137:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:169:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:172:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:179:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:183:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:183:40: error TS7006: Parameter 'data' implicitly has an 'any' type. test/test_CamService.js:195:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:198:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:205:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:209:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:209:40: error TS7006: Parameter 'data' implicitly has an 'any' type. test/test_CamService.js:226:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:229:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:236:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:240:54: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:246:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:250:42: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:257:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:260:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:263:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:283:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:288:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:292:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:292:40: error TS7006: Parameter 'data' implicitly has an 'any' type. test/test_CamService.js:300:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:325:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:328:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:350:23: error TS7006: Parameter 'err' implicitly has an 'any' type. test/test_CamService.js:363:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:366:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:387:23: error TS7006: Parameter 'err' implicitly has an 'any' type. test/test_CamService.js:407:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:410:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:413:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:416:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:418:46: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:423:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:426:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:428:42: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:432:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:438:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:441:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:463:23: error TS7006: Parameter 'err' implicitly has an 'any' type. test/test_CamService.js:479:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:482:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:487:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:490:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:490:38: error TS7006: Parameter 'data' implicitly has an 'any' type. test/test_CamService.js:519:34: error TS7006: Parameter 'apiThrottle' implicitly has an 'any' type. test/test_CamService.js:519:47: error TS7006: Parameter 'cliThrottle' implicitly has an 'any' type. test/test_CamService.js:519:60: error TS7006: Parameter 'nbDurations' implicitly has an 'any' type. test/test_CamService.js:536:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:541:13: error TS7034: Variable 'timestamps' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:545:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:548:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:553:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:563:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:567:14: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:567:30: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:574:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:579:13: error TS7034: Variable 'timestamps' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:585:34: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:588:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:593:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:598:43: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:619:25: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:620:19: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:620:41: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:646:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:651:13: error TS7034: Variable 'timestamps' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:654:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:658:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:659:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:661:14: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:661:30: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:668:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:673:13: error TS7034: Variable 'timestamps' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:678:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:682:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:683:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:696:9: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:696:34: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:696:56: error TS7005: Variable 'timestamps' implicitly has an 'any[]' type. test/test_CamService.js:735:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:737:32: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:738:13: error TS7034: Variable 'streamers' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:739:13: error TS7034: Variable 'messages' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:742:73: error TS7006: Parameter 'cam' implicitly has an 'any' type. test/test_CamService.js:745:31: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:750:7: error TS7005: Variable 'streamers' implicitly has an 'any[]' type. test/test_CamService.js:759:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:763:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:763:38: error TS7006: Parameter 'msg' implicitly has an 'any' type. test/test_CamService.js:767:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:769:7: error TS7005: Variable 'messages' implicitly has an 'any[]' type. test/test_CamService.js:770:33: error TS7005: Variable 'streamers' implicitly has an 'any[]' type. test/test_CamService.js:791:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:793:32: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:794:13: error TS7034: Variable 'HTTPMsgs' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:794:28: error TS7034: Variable 'WSMsgs' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:800:29: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:830:21: error TS7006: Parameter 'err' implicitly has an 'any' type. test/test_CamService.js:833:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:836:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:836:38: error TS7006: Parameter 'msg' implicitly has an 'any' type. test/test_CamService.js:842:14: error TS7005: Variable 'HTTPMsgs' implicitly has an 'any[]' type. test/test_CamService.js:842:41: error TS7005: Variable 'WSMsgs' implicitly has an 'any[]' type. test/test_CamService.js:844:7: error TS7005: Variable 'HTTPMsgs' implicitly has an 'any[]' type. test/test_CamService.js:860:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:862:32: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:863:13: error TS7034: Variable 'streamers' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:864:13: error TS7034: Variable 'messages' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_CamService.js:867:73: error TS7006: Parameter 'cam' implicitly has an 'any' type. test/test_CamService.js:870:31: error TS2339: Property 'server' does not exist on type '{}'. test/test_CamService.js:875:7: error TS7005: Variable 'streamers' implicitly has an 'any[]' type. test/test_CamService.js:885:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:889:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:889:38: error TS7006: Parameter 'msg' implicitly has an 'any' type. test/test_CamService.js:894:36: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:897:24: error TS7005: Variable 'streamers' implicitly has an 'any[]' type. test/test_CamService.js:900:7: error TS7005: Variable 'messages' implicitly has an 'any[]' type. test/test_CamService.js:913:36: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_CamService.js:925:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:931:17: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_CamService.js:931:38: error TS7006: Parameter 'code' implicitly has an 'any' type. test/test_CamService.js:931:44: error TS7006: Parameter 'reason' implicitly has an 'any' type. test/test_CamService_config.js:6:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_CamService_config.js:19:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:20:15: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:24:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:25:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:31:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:32:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:32:33: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:33:28: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:40:11: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/test_CamService_config.js:58:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:59:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:59:33: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:60:28: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:63:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:74:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:77:47: error TS2353: Object literal may only specify known properties, and 'extra' does not exist in type 'CameraConfig'. test/test_CamService_config.js:82:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_CamService_config.js:82:33: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_CamService_config.js:84:41: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:6:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_HTTPConsumer.js:16:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:17:15: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:19:22: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:24:9: error TS2339: Property 'ressource' does not exist on type '{}'. test/test_HTTPConsumer.js:24:25: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:25:9: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_HTTPConsumer.js:26:41: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ cam1: { path: string; auth: { user: string; password: string; }; }; cam2: { path: string; auth: { user: string; password: string; }; }; cam3: { path: string; auth: { user: string; password: string; }; }; cam4: { path: string; auth: { ...; }; }; }'. test/test_HTTPConsumer.js:27:13: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ cam1: { path: string; auth: { user: string; password: string; }; }; cam2: { path: string; auth: { user: string; password: string; }; }; cam3: { path: string; auth: { user: string; password: string; }; }; cam4: { path: string; auth: { ...; }; }; }'. test/test_HTTPConsumer.js:30:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:34:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:35:10: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:43:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:43:43: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_HTTPConsumer.js:44:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:44:33: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_HTTPConsumer.js:45:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:55:7: error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation. test/test_HTTPConsumer.js:61:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:61:43: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_HTTPConsumer.js:62:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:62:33: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_HTTPConsumer.js:63:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:77:7: error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation. test/test_HTTPConsumer.js:79:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:79:43: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_HTTPConsumer.js:80:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:82:15: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:86:37: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:88:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:96:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:97:38: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_HTTPConsumer.js:100:37: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_HTTPConsumer.js:102:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:8:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_MJPEGConsumer.js:20:9: error TS2339: Property 'mjpegServer' does not exist on type '{}'. test/test_MJPEGConsumer.js:21:15: error TS2339: Property 'mjpegServer' does not exist on type '{}'. test/test_MJPEGConsumer.js:23:22: error TS2339: Property 'mjpegServer' does not exist on type '{}'. test/test_MJPEGConsumer.js:28:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:28:24: error TS2339: Property 'mjpegServer' does not exist on type '{}'. test/test_MJPEGConsumer.js:30:9: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:31:41: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ cam1: { path: string; auth: { user: string; password: string; }; }; cam2: { path: string; auth: { user: string; password: string; }; }; cam3: { path: string; auth: { user: string; password: string; }; }; cam4: { path: string; auth: { ...; }; }; }'. test/test_MJPEGConsumer.js:32:13: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ cam1: { path: string; auth: { user: string; password: string; }; }; cam2: { path: string; auth: { user: string; password: string; }; }; cam3: { path: string; auth: { user: string; password: string; }; }; cam4: { path: string; auth: { ...; }; }; }'. test/test_MJPEGConsumer.js:35:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:39:9: error TS2339: Property 'mjpegServer' does not exist on type '{}'. test/test_MJPEGConsumer.js:40:13: error TS2339: Property 'timer' does not exist on type '{}'. test/test_MJPEGConsumer.js:41:25: error TS2339: Property 'timer' does not exist on type '{}'. test/test_MJPEGConsumer.js:42:11: error TS2339: Property 'timer' does not exist on type '{}'. test/test_MJPEGConsumer.js:45:10: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:52:28: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:55:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:55:44: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:56:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:56:33: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:58:45: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:59:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:64:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:74:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:79:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:84:26: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:85:33: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:88:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:88:42: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:89:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:89:31: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:91:43: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:92:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:96:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:97:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:98:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:104:28: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:105:11: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:106:11: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:111:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:111:44: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:112:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:112:33: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:114:45: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:115:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:120:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:121:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:122:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:123:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:129:28: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:134:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:134:44: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:135:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:135:33: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:137:45: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:138:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:143:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:144:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:145:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:146:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:150:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:151:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:157:26: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:158:11: error TS7034: Variable 'received' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_MJPEGConsumer.js:160:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:160:42: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:161:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:161:31: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:163:43: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:164:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:169:26: error TS7005: Variable 'received' implicitly has an 'any[]' type. test/test_MJPEGConsumer.js:171:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:186:43: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:188:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:188:42: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:189:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:192:40: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:193:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:199:28: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:203:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:203:44: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:204:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:204:33: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:206:45: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:207:11: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:212:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:213:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:214:11: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:221:26: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:225:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:225:42: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:226:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:226:31: error TS7006: Parameter 'frame' implicitly has an 'any' type. test/test_MJPEGConsumer.js:228:43: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:229:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:233:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:238:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:244:26: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:248:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:248:42: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:249:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:249:31: error TS7006: Parameter 'err' implicitly has an 'any' type. test/test_MJPEGConsumer.js:251:43: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:252:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:256:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:261:9: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:266:43: error TS2339: Property 'streamer' does not exist on type '{}'. test/test_MJPEGConsumer.js:268:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:268:42: error TS2339: Property 'consumerOpts' does not exist on type '{}'. test/test_MJPEGConsumer.js:269:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:272:21: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:277:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:287:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:288:36: error TS2339: Property 'mjpegServer' does not exist on type '{}'. test/test_MJPEGConsumer.js:291:35: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MJPEGConsumer.js:293:9: error TS2339: Property 'consumer' does not exist on type '{}'. test/test_MultiPart.js:8:30: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_MultiPart.js:55:11: error TS7034: Variable 'ret' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_MultiPart.js:61:12: error TS7005: Variable 'ret' implicitly has an 'any[]' type. test/test_SShotService.js:7:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_SShotService.js:21:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_SShotService.js:22:15: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_SShotService.js:26:9: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_SShotService.js:27:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_SShotService.js:32:22: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_SShotService.js:33:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_SShotService.js:48:9: error TS2339: Property 'camService' does not exist on type '{}'. test/test_SShotService.js:48:33: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_SShotService.js:50:45: error TS2339: Property 'httpServer' does not exist on type '{}'. test/test_SShotService.js:68:19: error TS2339: Property 'response' does not exist on type 'AxiosResponse'. test/test_SShotService.js:69:19: error TS2339: Property 'response' does not exist on type 'AxiosResponse'. test/test_SwaggerExposition.js:5:53: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/test_SwaggerExposition.js:19:9: error TS2339: Property 'server' does not exist on type '{}'. test/test_SwaggerExposition.js:21:15: error TS2339: Property 'server' does not exist on type '{}'. test/test_SwaggerExposition.js:24:22: error TS2339: Property 'server' does not exist on type '{}'. test/test_SwaggerExposition.js:29:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/test_SwaggerExposition.js:30:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/test_SwaggerExposition.js:43:9: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_SwaggerExposition.js:51:15: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_SwaggerExposition.js:56:13: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_SwaggerExposition.js:57:11: error TS2339: Property 'WScli' does not exist on type '{}'. test/test_SwaggerExposition.js:59:9: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_SwaggerExposition.js:60:9: error TS2339: Property 'server' does not exist on type '{}'. test/test_SwaggerExposition.js:65:28: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_SwaggerExposition.js:84:13: error TS7034: Variable 'cameras' implicitly has type 'any[]' in some locations where its type cannot be determined. test/test_SwaggerExposition.js:91:7: error TS7005: Variable 'cameras' implicitly has an 'any[]' type. test/test_SwaggerExposition.js:98:28: error TS2339: Property 'appServer' does not exist on type '{}'. test/test_VarBuffer.js:7:30: error TS7016: Could not find a declaration file for module 'mocha'. 'node_modules/mocha/index.js' implicitly has an 'any' type. test/utils/HTTPRessource.js:56:35: error TS18048: 'auth' is possibly 'undefined'. test/utils/HTTPRessource.js:56:46: error TS18048: 'auth' is possibly 'undefined'. test/utils/HTTPServer.js:36:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/utils/MJPEGServer.js:33:9: error TS7053: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. test/utils/MJPEGStreamer.js:66:35: error TS18048: 'auth' is possibly 'undefined'. test/utils/MJPEGStreamer.js:66:46: error TS18048: 'auth' is possibly 'undefined'. test/utils/utils.js:48:28: error TS2339: Property 'message' does not exist on type '{}'. test/utils/utils.js:48:53: error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'. test/utils/utils.js:65:12: error TS18046: 'e' is of type 'unknown'. test/utils/utils.js:106:7: error TS7034: Variable 'ret' implicitly has type 'any[]' in some locations where its type cannot be determined. test/utils/utils.js:110:21: error TS7006: Parameter 'e' implicitly has an 'any' type. test/utils/utils.js:115:35: error TS7005: Variable 'ret' implicitly has an 'any[]' type. test/utils/utils.js:115:44: error TS7005: Variable 'ret' implicitly has an 'any[]' type. test/utils/utils.js:126:30: error TS2554: Expected 1 arguments, but got 0.