I'm having trouble getting it to work in a TypeScript project.
I installed both
npm i ethers-gcp-kms-signer
and
npm i ethers-aws-kms-signer
for reference.
Minimal code example here:
index.ts
import {AwsKmsSigner} from "ethers-aws-kms-signer";
import {GcpKmsSigner} from "ethers-gcp-kms-signer";
When compiling I get:
Could not find a declaration file for module 'ethers-gcp-kms-signer'. '/Users/johanneskares/Programming/firebase-test/functions/node_modules/ethers-gcp-kms-signer/dist/signer.js' implicitly has an 'any' type.
When I just use ethers-aws-kms-signer I can compile. Unfortunately I don't know much about how NPM packages work internally, so can't really help much.
Thanks for the repo, great work!
I'm having trouble getting it to work in a TypeScript project.
I installed both
npm i ethers-gcp-kms-signer
andnpm i ethers-aws-kms-signer
for reference.Minimal code example here:
index.ts
When compiling I get: Could not find a declaration file for module 'ethers-gcp-kms-signer'. '/Users/johanneskares/Programming/firebase-test/functions/node_modules/ethers-gcp-kms-signer/dist/signer.js' implicitly has an 'any' type.
When I just use ethers-aws-kms-signer I can compile. Unfortunately I don't know much about how NPM packages work internally, so can't really help much.
Also, can be tried out here: