Skip to content

Commit

Permalink
fix(api): remove implicit typed inject dependency (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs authored and simondel committed Feb 13, 2019
1 parent 0399e74 commit 5cae595
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export * from './src/plugin/Contexts';
export * from './src/plugin/Plugins';
export * from './src/plugin/PluginKind';
export * from './src/plugin/tokens';
export * from './src/plugin/Scope';
export * from 'typed-inject/src/api/Injectable';
export * from 'typed-inject/src/api/Injector';
export * from 'typed-inject/src/api/InjectionToken';
export { InjectionToken } from 'typed-inject/src/api/InjectionToken';
export * from 'typed-inject/src/api/CorrespondingType';
export * from 'typed-inject/src/api/Scope';
export * from 'typed-inject/src/api/Disposable';
6 changes: 6 additions & 0 deletions packages/api/src/plugin/Scope.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export enum Scope {
Transient = 'transient',
Singleton = 'singleton'
}

// Keep in sync with import { Scope } from '@typed-inject';

0 comments on commit 5cae595

Please sign in to comment.