message: fix: fix window not defined in ssr
diff: @@ -3,7 +3,7 @@ import { Styli } from '../styli'
  import { PlainObject } from '../types'
  import { ModifierType } from '../types/Modifiers'
  -export const canUseDom = !!window?.document?.createElement
  +export const canUseDom = window && window?.document?.createElement
  export function upFirst(s: string = '') {
  return s.charAt(0).toUpperCase() + s.slice(1)
  