fix: fix types

This commit is contained in:
Sergey Krylov 2026-04-12 08:40:15 +03:00
parent d328d47859
commit ac1007c0dc

View File

@ -1,5 +1,5 @@
import { Timestamp } from '@teacinema/contracts/gen/ts/google/protobuf/timestamp' import { Timestamp } from '@teacinema/contracts/gen/ts/google/protobuf/timestamp'
export function timestampToISO(ts: Timestamp) { export function timestampToISO(ts: Timestamp) {
new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString() return new Date(ts.seconds * 1000 + ts.nanos / 1_000_000).toISOString()
} }