fix require type
Inject example