Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FR] adding toJSON property to the Admin SDK Timestamp class

オープン
#2,412 コメント 2 件 リアクション 3 件 担当者 1 名 GitHub で見る

@lahirumaramba がすでに取り組んでいます。

2023年12月20日 から。

評価

この issue はまだ評価されていません。

説明

api: firestore type: feature request

Is your feature request related to a problem? Please describe.
Working in monorepos or other situations with shared Typescript interfaces is complicated because toJSON property is missing on the Admin SDK Timestamp definition

Can firebase-admin package and firebase package share same type definition of some common class?
For example firebase-admin Timestamp class is defined here but firebase Timestamp class is defined here and they are different.

Describe the solution you'd like
adding toJSON property to the Admin SDK Timestamp class to make it compatible to firebase Timestamp class.

Describe alternatives you've considered
Split the common class type definition to a separate package?

Additional context
Discussed at #1404 before, but no contributor response after hiranya911 is not active in firebase project.

主要言語
TypeScript
スター
1.7k
フォーク
419
平均マージ
4日 20時間
マージ済み PR(30日)
16

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/firebase-admin-node のほかの issue

firebase/firebase-admin-node の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。