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