Skip to content

Commit

Permalink
chore: Update canUseDom to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Sep 2, 2020
1 parent 629533f commit f0a3936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dom/canUseDom.js → src/Dom/canUseDom.ts
@@ -1,7 +1,7 @@
export default function canUseDom() {
return !!(
typeof window !== 'undefined' &&
window.document &&
window.document.createElement
window.document &&
window.document.createElement
);
}

0 comments on commit f0a3936

Please sign in to comment.