import { Application } from 'egg' ; import { GiteeManager } from './gitee-manager' ; import { AppPluginBase } from '../../basic/AppPluginBase' ; declare module 'egg' { interface Application { gitee : GiteeManager ; } } module . exports = ( app ) => { AppPluginBase . LoadToApp ( 'gitee' , GiteeManager , app ) ; } ;