config.ts
15 lines
| 408 B
| video/mp2t
|
TypeScriptLexer
|
|
r123 | import { configure } from "./services"; | ||
| import { Foo } from "./Foo"; | ||||
| import { Bar } from "./Bar"; | ||||
|
|
r110 | |||
|
|
r123 | export const config = configure() | ||
| .register("bar", { $from: import("./Bar"), service: "service" }) | ||||
| .register("box", { $from: import("./Box") }) | ||||
| .register("host", "example.com") | ||||
| .register("foo", { | ||||
| $type: Foo | ||||
| }) | ||||
| .register("bar2", { | ||||
| $type: Bar, | ||||
| params: [] | ||||
| }); | ||||
