diff options
author | 2023-07-28 18:04:00 -0700 | |
---|---|---|
committer | 2023-07-28 18:04:00 -0700 | |
commit | c68d9ae634d901f4684cf00a80c272fa5f0dc729 (patch) | |
tree | ae6af8ffaf934efe43d872c3d97ecd64b3531971 | |
parent | bd66a9a94c89c53d325ee730346a5d4ed53d88ca (diff) | |
download | bun-c68d9ae634d901f4684cf00a80c272fa5f0dc729.tar.gz bun-c68d9ae634d901f4684cf00a80c272fa5f0dc729.tar.zst bun-c68d9ae634d901f4684cf00a80c272fa5f0dc729.zip |
optional parameter
-rw-r--r-- | packages/bun-types/bun-test.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/bun-types/bun-test.d.ts b/packages/bun-types/bun-test.d.ts index 6877744f2..680d17d2a 100644 --- a/packages/bun-types/bun-test.d.ts +++ b/packages/bun-types/bun-test.d.ts @@ -426,7 +426,7 @@ declare module "bun:test" { * @param actual the actual value */ export const expect: { - (actual: unknown): Expect; + (actual?: unknown): Expect; any: ( constructor: ((..._: any[]) => any) | { new (..._: any[]): any }, ) => Expect; @@ -470,7 +470,7 @@ declare module "bun:test" { rejects: Expect<unknown>; /** * Assertion which passes. - * + * * @link https://jest-extended.jestcommunity.dev/docs/matchers/pass * @example * expect().pass(); @@ -483,7 +483,7 @@ declare module "bun:test" { pass: (message?: string) => void; /** * Assertion which fails. - * + * * @link https://jest-extended.jestcommunity.dev/docs/matchers/fail * @example * expect().fail(); |