小编Anh*_*uấn的帖子

在 AngularFire 应用程序中创建一个 Timestamp 对象

第一次尝试

import { Timestamp } from '@firebase/firestore-types';
Run Code Online (Sandbox Code Playgroud)

那么如何创建一个 Timestamp 对象呢?

var now: Timestamp = ???

var now: Timestamp = Timestamp.now() //Module not found: Error: Can't resolve '@firebase/firestore-types'
Run Code Online (Sandbox Code Playgroud)

timestamp firebase angularfire2 angular

5
推荐指数
1
解决办法
5346
查看次数

标签 统计

angular ×1

angularfire2 ×1

firebase ×1

timestamp ×1