From ef3af58809e60fc7f98f8856790efa7fa3bdda31 Mon Sep 17 00:00:00 2001 From: Futa Ogawa Date: Tue, 24 Jul 2018 04:16:49 +0900 Subject: [PATCH] [@types/google-cloud__datastore] Fix optional constructor (#27500) * google-cloud__storage / Fix optional constructor. * google-cloud__datastore / Fix optional constructor. --- types/google-cloud__datastore/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/google-cloud__datastore/index.d.ts b/types/google-cloud__datastore/index.d.ts index f864f965c9..e0ef60b4bb 100644 --- a/types/google-cloud__datastore/index.d.ts +++ b/types/google-cloud__datastore/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for @google-cloud/datastore 1.3 // Project: https://github.com/googleapis/nodejs-datastore // Definitions by: Antoine Beauvais-Lacasse +// Futa Ogawa // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.7 @@ -34,7 +35,7 @@ declare module '@google-cloud/datastore' { import { DatastoreTransaction } from '@google-cloud/datastore/transaction'; class Datastore extends DatastoreRequest_ { - constructor(options: InitOptions); + constructor(options?: InitOptions); readonly KEY: typeof Datastore.KEY; readonly MORE_RESULTS_AFTER_CURSOR: MoreResultsAfterCursor;