Skip to content

Commit

Permalink
All tests but one
Browse files Browse the repository at this point in the history
  • Loading branch information
divmgl committed Oct 28, 2023
1 parent 8b1230e commit 516ba9b
Show file tree
Hide file tree
Showing 17 changed files with 582 additions and 256 deletions.
3 changes: 2 additions & 1 deletion packages/nwire/dist/Container.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export declare class Container<TContext extends Context = {}> {
private _transient;
constructor(_parentContainer?: Container<TContext> | undefined);
static build<T extends Context = {}>(): Container<T>;
context<TWriteContext extends Context = TContext>(rootContext?: Context): TWriteContext;
copy<TContext>(rootContext?: Context): TContext;
context<TWriteContext extends Context = TContext>(rootContext?: Context, resolving?: Set<unknown>): TWriteContext;
group<TNewKey extends string, TNewContext extends Context>(key: TNewKey, decorator: (container: Container<TContext>) => Container<TNewContext>): Container<MergeContext<TContext, TNewKey, TNewContext>>;
static group<TNewKey extends string, TNewContext extends Context>(key: TNewKey, decorator: (container: Container<Context>) => Container<TNewContext>): Container<MergeContext<Context, TNewKey, TNewContext>>;
instance<TNewKey extends string, TValue>(key: TNewKey, ValueClass: Instance<TValue>, ...args: any[]): Container<MergeContext<TContext, TNewKey, TValue>>;
Expand Down
84 changes: 0 additions & 84 deletions packages/nwire/dist/Container.js

This file was deleted.

4 changes: 2 additions & 2 deletions packages/nwire/dist/Injected.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Context } from "./Container";
export declare class Injected<TContext extends Context> {
protected context: TContext;
constructor(context: TContext);
protected _context: TContext;
constructor(_context: TContext);
}
6 changes: 0 additions & 6 deletions packages/nwire/dist/Injected.js

This file was deleted.

179 changes: 179 additions & 0 deletions packages/nwire/dist/cjs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions packages/nwire/dist/cjs/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 516ba9b

Please sign in to comment.