mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+4
-4
@@ -70,12 +70,12 @@ declare module "forge-di" {
|
||||
* Returns a string that represents all bindings within this forge instance.
|
||||
*/
|
||||
inspect(): string;
|
||||
|
||||
|
||||
resolve<T>(name: string, context?: Forge.IContext, hint?: string, all?: boolean, ...args: any[]): T | T[];
|
||||
resolveBindings(context: Forge.IContext, bindings: Forge.IBinding[], hint: string, args: any[], unwrap: boolean): Forge.IBinding[];
|
||||
}
|
||||
|
||||
module Forge {
|
||||
namespace Forge {
|
||||
interface IContext {
|
||||
new (): IContext;
|
||||
bindings: IBinding[];
|
||||
@@ -84,11 +84,11 @@ declare module "forge-di" {
|
||||
pop(): IBinding;
|
||||
toString(indent: number): string;
|
||||
}
|
||||
|
||||
|
||||
interface IType {
|
||||
new (...args: any[]): any;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Represents arguments to help with resolving a binding.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user