Skip to content

Commit 842874d

Browse files
committed
expect type error
1 parent 420416c commit 842874d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const isDeno: boolean =
3333

3434

3535
/** @see {@link https://bun.sh/guides/util/detect-bun} */
36+
// @ts-expect-error
3637
const isBun = typeof process !== "undefined" && process.versions != null && process.versions.bun != null;
3738

3839
export { isBrowser, isWebWorker, isNode, isJsDom, isDeno, isBun };

0 commit comments

Comments
 (0)