Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 431 Bytes

instructions.md

File metadata and controls

17 lines (14 loc) · 431 Bytes

The package has been configured successfully!

Make sure to first define the mapping inside the contracts/ally.ts file as follows.

import { TwitchDriver, TwitchDriverConfig } from 'adonis-ally-twitch/build/src/TwitchDriver'

declare module '@ioc:Adonis/Addons/Ally' {
  interface SocialProviders {
    // ... other mappings
    twitch: {
      config: TwitchDriverConfig
      implementation: TwitchDriver
    }
  }
}