diff --git a/.eslintrc.js b/.eslintrc.js index f9e610d..dd7dceb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,5 @@ module.exports = { + root: true, parser: '@typescript-eslint/parser', extends: [ 'eslint:recommended', diff --git a/src/index.ts b/src/index.ts index 5ed3e57..b46f6f4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -96,4 +96,7 @@ export default async function (manager: Manager, settings: ComponentSettings) { manager.addEventListener('SignUp', event => { eventHandler('SignUp', event, settings) }) + manager.addEventListener('Custom', event => { + eventHandler('Custom', event, settings) + }) }