Skip to content

Commit

Permalink
docs: Fix example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea authored May 3, 2023
1 parent 31d88b5 commit 838f98c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import {
Adapter,
initPrivateKeystoreFromEnv,
} from '@relaycorp/awala-keystore-cloud';
import { PrivateKeyStore } from '@relaycorp/relaynet-core';
import type { PrivateKeyStore } from '@relaycorp/relaynet-core';

async function initPrivateKeystore(): Promise<PrivateKeyStore> {
function initPrivateKeystore(): PrivateKeyStore {
return initPrivateKeystoreFromEnv(Adapter.GCP);
}
```
Expand Down

0 comments on commit 838f98c

Please sign in to comment.