最近,我们旧编写的微服务之一(Nodejs V10 + Typescript V7.0.1)开始抛出以下错误:
\nreturn new TSError(diagnosticText, diagnosticCodes)\nTSError: \xe2\xa8\xaf Unable to compile TypeScript:\nsrc/app.ts(31,14): error TS2339: Property 'listen' does not exist on type 'Application'.\nsrc/app.ts(48,14): error TS2339: Property 'use' does not exist on type 'Application'.\nsrc/app.ts(49,14): error TS2339: Property 'use' does not exist on type 'Application'.\nsrc/app.ts(50,14): error TS2339: Property 'set' does not exist on type 'Application'.\nsrc/app.ts(51,14): error TS2339: Property 'set' does not exist on type 'Application'.\nsrc/app.ts(52,14): error TS2339: Property 'use' does not exist on type 'Application'.\nRun Code Online (Sandbox Code Playgroud)\n代码环境
\n我们在 docker-compose …
我搜索了很多谷歌,回顾了我的旧数学书籍,但我被困住为什么我们不能从它的外围找到不规则形状的区域?如果我们从区域找到周边,是否可以逆转过程并从周边找到区域.
这个过程适用于正方形和矩形,但不适用于完全不规则的形状.我问这个问题,因为我们有一个不规则形状的场,我们想知道它的区域,我们可以测量它的5个边.
我们没有任何方法可以从周边找到不规则形状的区域.
任何帮助将不胜感激.