From 7fa950a0bbd06ca3b203632414e00e2531536d0f Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Wed, 6 Mar 2019 12:08:18 -0800 Subject: [PATCH] fix: make an explicit dependency on long --- package.json | 2 +- proto/datastore.d.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2224fb731..fe016bcee 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "prepare": "npm run compile", "pretest": "npm run compile", "proto": "npm run proto:datastore", - "proto:datastore": "mkdir -p proto && pbjs -t static-module -w commonjs -p node_modules/google-proto-files google/datastore/v1/datastore.proto | pbts -o proto/datastore.d.ts -", + "proto:datastore": "mkdir -p proto && pbjs -t static-module -w commonjs -p node_modules/google-proto-files google/datastore/v1/datastore.proto | pbts -i long -o proto/datastore.d.ts -", "docs-test": "linkinator docs -r --skip www.googleapis.com", "predocs-test": "npm run docs" }, diff --git a/proto/datastore.d.ts b/proto/datastore.d.ts index 4f2f6398d..ce6b761e1 100644 --- a/proto/datastore.d.ts +++ b/proto/datastore.d.ts @@ -1,4 +1,5 @@ import * as $protobuf from "protobufjs"; +import * as long from "long"; /** Namespace google. */ export namespace google {