Skip to content

Commit 1a4afc1

Browse files
author
Brian Chen
authored
Deleting comments from index.d.ts file in packages/firestore-types (#2371)
1 parent 542240d commit 1a4afc1

File tree

2 files changed

+53
-1199
lines changed

2 files changed

+53
-1199
lines changed

packages/firebase/index.d.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7372,6 +7372,19 @@ declare namespace firebase.firestore {
73727372
* @see https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto
73737373
*/
73747374
export class Timestamp {
7375+
/**
7376+
* Creates a new timestamp.
7377+
*
7378+
* @param seconds The number of seconds of UTC time since Unix epoch
7379+
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
7380+
* 9999-12-31T23:59:59Z inclusive.
7381+
* @param nanoseconds The non-negative fractions of a second at nanosecond
7382+
* resolution. Negative second values with fractions must still have
7383+
* non-negative nanoseconds values that count forward in time. Must be
7384+
* from 0 to 999,999,999 inclusive.
7385+
*/
7386+
constructor(seconds: number, nanoseconds: number);
7387+
73757388
/**
73767389
* Creates a new timestamp with the current date, with millisecond precision.
73777390
*
@@ -7398,19 +7411,6 @@ declare namespace firebase.firestore {
73987411
*/
73997412
static fromMillis(milliseconds: number): Timestamp;
74007413

7401-
/**
7402-
* Creates a new timestamp.
7403-
*
7404-
* @param seconds The number of seconds of UTC time since Unix epoch
7405-
* 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
7406-
* 9999-12-31T23:59:59Z inclusive.
7407-
* @param nanoseconds The non-negative fractions of a second at nanosecond
7408-
* resolution. Negative second values with fractions must still have
7409-
* non-negative nanoseconds values that count forward in time. Must be
7410-
* from 0 to 999,999,999 inclusive.
7411-
*/
7412-
constructor(seconds: number, nanoseconds: number);
7413-
74147414
readonly seconds: number;
74157415
readonly nanoseconds: number;
74167416

0 commit comments

Comments
 (0)