操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
函数变更 | 类名:AppAccountManager; API声明:auth(name: string, owner: string, authType: string, options: { [key: string]: Object; }, callback: AuthCallback): void; 差异内容:options: { [key: string]: Object; } |
类名:AppAccountManager; API声明:auth(name: string, owner: string, authType: string, options: Record<string, Object>, callback: AuthCallback): void; 差异内容:options: Record<string, Object> |
api/@ohos.account.appAccount.d.ts |
函数变更 | 类名:Authenticator; API声明:auth(name: string, authType: string, options: { [key: string]: Object; }, callback: AuthCallback): void; 差异内容:options: { [key: string]: Object; } |
类名:Authenticator; API声明:auth(name: string, authType: string, options: Record<string, Object>, callback: AuthCallback): void; 差异内容:options: Record<string, Object> |
api/@ohos.account.appAccount.d.ts |
属性变更 | 类名:CreateAccountOptions; API声明:customData?: { [key: string]: string; }; 差异内容:{ [key: string]: string; } |
类名:CreateAccountOptions; API声明:customData?: Record<string, string>; 差异内容:Record<string, string> |
api/@ohos.account.appAccount.d.ts |
属性变更 | 类名:CreateAccountImplicitlyOptions; API声明:parameters?: { [key: string]: Object; }; 差异内容:{ [key: string]: Object; } |
类名:CreateAccountImplicitlyOptions; API声明:parameters?: Record<string, Object>; 差异内容:Record<string, Object> |
api/@ohos.account.appAccount.d.ts |
属性变更 | 类名:VerifyCredentialOptions; API声明:parameters?: { [key: string]: Object; }; 差异内容:{ [key: string]: Object; } |
类名:VerifyCredentialOptions; API声明:parameters?: Record<string, Object>; 差异内容:Record<string, Object> |
api/@ohos.account.appAccount.d.ts |
属性变更 | 类名:SetPropertiesOptions; API声明:properties?: { [key: string]: Object; }; 差异内容:{ [key: string]: Object; } |
类名:SetPropertiesOptions; API声明:properties?: Record<string, Object>; 差异内容:Record<string, Object> |
api/@ohos.account.appAccount.d.ts |
属性变更 | 类名:SetPropertiesOptions; API声明:parameters?: { [key: string]: Object; }; 差异内容:{ [key: string]: Object; } |
类名:SetPropertiesOptions; API声明:parameters?: Record<string, Object>; 差异内容:Record<string, Object> |
api/@ohos.account.appAccount.d.ts |
kit变更 | Basic Services Kit | BasicServicesKit | api/@ohos.account.appAccount.d.ts |
kit变更 | Basic Services Kit | BasicServicesKit | api/@ohos.account.distributedAccount.d.ts |
kit变更 | Basic Services Kit | BasicServicesKit | api/@ohos.account.osAccount.d.ts |