mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix ACA pipeline
This commit is contained in:
committed by
Vito Albano
parent
f89d56acbf
commit
5a91b6b3c9
@@ -15,4 +15,5 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export const isBrowser = (): boolean => typeof window?.document !== 'undefined';
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
||||
export const isBrowser = (): boolean => typeof window !== 'undefined' && typeof window.document !== 'undefined';
|
||||
|
Reference in New Issue
Block a user