fix: build

This commit is contained in:
2023-03-14 18:04:29 +01:00
parent 3792a14e90
commit fd740b3091
185 changed files with 21932 additions and 71486 deletions

View File

@@ -63,7 +63,7 @@ export function deleteUndefinedProperties(object: unknown): unknown {
* Checks if environment is Node.js
*/
export function isNodeEnvironment(): boolean {
return Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
return Object.prototype.toString.call(typeof process === 'undefined' ? 0 : process) === '[object process]';
}
/**