Skip to content

Commit dc28793

Browse files
fix: make an explicit dependency on long (#352)
1 parent 7e18a42 commit dc28793

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

handwritten/datastore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"prepare": "npm run compile",
4242
"pretest": "npm run compile",
4343
"proto": "npm run proto:datastore",
44-
"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 -",
44+
"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 -",
4545
"docs-test": "linkinator docs -r --skip www.googleapis.com",
4646
"predocs-test": "npm run docs"
4747
},

handwritten/datastore/proto/datastore.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as $protobuf from "protobufjs";
2+
import * as long from "long";
23
/** Namespace google. */
34
export namespace google {
45

0 commit comments

Comments
 (0)