16 lines
524 B
JavaScript
16 lines
524 B
JavaScript
'use client';
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
Object.defineProperty(exports, "canUseDOM", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return canUseDOM;
|
|
}
|
|
});
|
|
function canUseDOM() {
|
|
return /* eslint-disable @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )*/ typeof window !== 'undefined' && !!(window.document && // eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
window.document.createElement);
|
|
}
|