mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-10 09:40:21 +08:00
[@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:
3
types/google-cloud__datastore/index.d.ts
vendored
3
types/google-cloud__datastore/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user