-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
documentationNeeds better documentationNeeds better documentation
Description
Hey!
When using this plugin I found that webpack complains about missing exports due to types not being removed by babel when used in inversify decorators. Although everything works fine these warnings can be resolved by using type imports:
import { injectable, inject } from 'inversify';
import type { Service } from './Service';
import { ServiceIdentifier } from './ServiceIdentifier';
@injectable
export class OtherService {
constructor(
@inject(ServiceIdentifier) service: Service
) {}
}
Just a small suggestion to add this to README if you think it fits there as some people might want to get rid of the warnings but don't know how.
anilpixel
Metadata
Metadata
Assignees
Labels
documentationNeeds better documentationNeeds better documentation