##// END OF EJS Templates
added provided and configure methods to the fluent container configuration, added applyConfig method to the container
added provided and configure methods to the fluent container configuration, added applyConfig method to the container

File last commit:

r135:03e32ec7c20b ioc ts support
r142:be7edf08a115 v1.4.0-rc3 default
Show More
traits.ts
11 lines | 371 B | video/mp2t | TypeScriptLexer
import { isPrimitive } from "../safe";
import { Descriptor } from "./interfaces";
import { FluentConfiguration } from "./fluent/FluentConfiguration";
export function isDescriptor(x: any): x is Descriptor {
return (!isPrimitive(x)) &&
(x.activate instanceof Function);
}
export function fluent<S extends object>() {
return new FluentConfiguration<S>();
}