在注册过程中,这两个属性都需要密码,但注册后就不需要密码了。其想法是,对于注册和身份验证,系统将使用firebase内置函数,但其他所有内容都将存储在firebase用户集合中。user prop to firebase user collection });
} 尽管有'as‘关键字,password属性仍然保存
我有以下TypeScript函数定义: constLambdaOutput type but not in the other possible return type of the Promise
问题是,每当我在最后一个示例中尝试访问result.upload (一个属性,该属性仅在LambdaOutput中可用,而不是在DCDErrorResponse中可用)