:pacs-蝶形pacs-1\pacs-2))。对于代理通行证,我需要使用与位置块匹配的任何路径,用于代理重写和代理通行证/重定向。不确定是否有办法做到这一点。location /(pacs-butterfly|pacs-1|pacs-2)/ { #match any of those in ()
. . . not sure how to code what:pacs-butterfly|pacs-1|pa
: Person) {}
getAge({age: 16, classes: '5-4'}) // ok
getAge({age: 20, salary: 1000, classes: '5-4'}) // Should be error but type checker success如何编写函数签名以防止getAge({age: 20,