Skip to content

Commit

Permalink
chore(midway-component-kmore): remove declaration of egg module
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jun 16, 2021
1 parent ac4ff08 commit b936b51
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions packages/midway-component-kmore/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import type { Context } from 'egg'

import { DbManager } from './lib/db-man'
import { KmoreComponentConfig } from './lib/types'


export { AutoConfiguration as Configuration } from './configuration'
Expand All @@ -16,13 +13,9 @@ export {
} from 'kmore'


declare module 'egg' {
// interface Application {
// dbManager: DbManager
// }
interface EggAppConfig {
kmore: KmoreComponentConfig
}
}
declare const dummy: Context
// declare module 'egg' {
// interface Application {
// dbManager: DbManager
// }
// }

0 comments on commit b936b51

Please sign in to comment.