Skip to content

Commit 057e48d

Browse files
committed
Refactor: make encryptSchema arg for newClient required
1 parent 50ac9f5 commit 057e48d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.cts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ declare const sym: unique symbol
88
// Poor man's opaque type.
99
export type Client = { readonly [sym]: unknown }
1010

11-
// Use this declaration to assign types to the jseql's exports,
12-
// which otherwise by default are `any`.
11+
// Use this declaration to assign types to the protect-ffi's exports,
12+
// which otherwise default to `any`.
1313
declare module './load.cjs' {
14-
function newClient(encryptSchema?: string): Promise<Client>
14+
function newClient(encryptSchema: string): Promise<Client>
1515
function encrypt(
1616
client: Client,
1717
plaintext: EncryptPayload,

0 commit comments

Comments
 (0)