Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eggjs/egg
/ IController
Interface
IController
test/fixtures/apps/app-ts/app/controller/foo.ts:17–19 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
// add user controller and service
16
declare module
'egg'
{
17
interface
IController {
18
foo: FooController;
19
}
20
}
21
22
// controller
Callers
nothing calls this directly
Implementers
4
MyController
test/fixtures/apps/app-ts-type-check/e
MyService
test/fixtures/apps/app-ts-type-check/e
CustomBaseContextClass
test/fixtures/apps/app-ts-type-check/f
MySubscription
test/fixtures/apps/app-ts-type-check/f
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…