Skip to content

Commit 0f7079f

Browse files
committed
style(pthread-support-available): use === operator
1 parent e286c86 commit 0f7079f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/typescript/itk-wasm/src/pipeline/pthread-support-available.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ function pthreadSupportAvailable(): boolean {
44

55
// Emscripten ENVIRONMENT_IS_NODE
66
const isNode =
7-
typeof process == 'object' &&
8-
typeof process.versions == 'object' &&
9-
typeof process.versions.node == 'string' &&
7+
typeof process === 'object' &&
8+
typeof process.versions === 'object' &&
9+
typeof process.versions.node === 'string' &&
1010
// @ts-ignore: ts(2339)
11-
process.type != 'renderer'
11+
process.type !== 'renderer'
1212

1313
const isCrossOriginIsolated =
1414
typeof crossOriginIsolated !== 'undefined'

0 commit comments

Comments
 (0)