Skip to content

Commit 1b9ec35

Browse files
committed
refactor: add type prefix to exports
1 parent e47efaa commit 1b9ec35

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

src/awilix.ts

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
export {
2-
AwilixContainer,
3-
ContainerOptions,
2+
type AwilixContainer,
3+
type ContainerOptions,
4+
type CacheEntry,
5+
type ClassOrFunctionReturning,
6+
type FunctionReturning,
7+
type NameAndRegistrationPair,
8+
type RegistrationHash,
9+
type ResolveOptions,
410
createContainer,
5-
CacheEntry,
6-
ClassOrFunctionReturning,
7-
FunctionReturning,
8-
NameAndRegistrationPair,
9-
RegistrationHash,
10-
ResolveOptions,
1111
} from './container'
1212
export {
1313
AwilixError,
1414
AwilixRegistrationError,
1515
AwilixResolutionError,
1616
AwilixTypeError,
1717
} from './errors'
18-
export { InjectionMode, InjectionModeType } from './injection-mode'
19-
export { Lifetime, LifetimeType } from './lifetime'
18+
export { InjectionMode, type InjectionModeType } from './injection-mode'
19+
export { Lifetime, type LifetimeType } from './lifetime'
2020
export {
21-
GlobWithOptions,
22-
ListModulesOptions,
23-
ModuleDescriptor,
21+
type GlobWithOptions,
22+
type ListModulesOptions,
23+
type ModuleDescriptor,
2424
listModules,
2525
} from './list-modules'
2626
export {
27-
BuildResolverOptions,
28-
Disposer,
29-
InjectorFunction,
30-
Resolver,
31-
ResolverOptions,
32-
BuildResolver,
33-
Constructor,
34-
DisposableResolver,
35-
DisposableResolverOptions,
27+
type BuildResolverOptions,
28+
type Disposer,
29+
type InjectorFunction,
30+
type Resolver,
31+
type ResolverOptions,
32+
type BuildResolver,
33+
type Constructor,
34+
type DisposableResolver,
35+
type DisposableResolverOptions,
3636
RESOLVER,
3737
aliasTo,
3838
asClass,

0 commit comments

Comments
 (0)