[@types/google-cloud__datastore] Fix optional constructor (#27500)

* google-cloud__storage / Fix optional constructor.

* google-cloud__datastore / Fix optional constructor.
This commit is contained in:
Futa Ogawa
2018-07-24 04:16:49 +09:00
committed by Andy
parent 378f800625
commit ef3af58809

View File

@@ -1,6 +1,7 @@
// Type definitions for @google-cloud/datastore 1.3
// Project: https://github.com/googleapis/nodejs-datastore
// Definitions by: Antoine Beauvais-Lacasse <https://github.com/beaulac>
// Futa Ogawa <https://github.com/ogawa0071>
// 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;