// eslint-disable-next-line import/no-extraneous-dependencies
export { default } from '@interactjs/interactjs/index'

// eslint-disable-next-line import/no-extraneous-dependencies
import interact from '@interactjs/interactjs/index'

export default interact

if (typeof module === 'object' && !!module) {
  try {
    module.exports = interact
  } catch {}
}

;(interact as any).default = interact

Revert "chore: remove redundant module.exports assignment"
Revert "chore: remove redundant module.exports assignment"

Close #895
