我为SPN授予了以下权限: Active Directory图(2) -应用程序读写所有应用程序-应用程序读写目录数据 Microsoft Graph (1) -应用程序读写组 这里明显缺少哪些权限?如果我们给SPN分配Azure AD角色UserAccountAdmin,它就会工作,但我们更愿意拥有最低特权的访问权限。
: 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,