From: Chris Duncan Date: Sun, 29 Jun 2025 05:45:26 +0000 (-0700) Subject: Type unknown is not enough to mark property as optional. X-Git-Tag: v5.1.3~1 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=080546f749365c4f561a7e7e26615fe44edc4510;p=nano-pow.git Type unknown is not enough to mark property as optional. --- diff --git a/src/types.d.ts b/src/types.d.ts index 36198d0..6f039cd 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -56,10 +56,10 @@ export { NanoPow as default } * @param {number} [effort=0x4] - GPU load when generating work. Larger values are not necessarily better since they can quickly overwhelm the GPU. Default: 0x4 */ export type NanoPowOptions = { - api: unknown - debug: unknown - difficulty: unknown - effort: unknown + api?: unknown + debug?: unknown + difficulty?: unknown + effort?: unknown } /**