Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public register(injector: IInjector): void {
injector.bindModule(new KnockoutRegistrationLoaders());
injector.bindSingleton("eventManager", DefaultEventManager);
injector.bindSingleton("logger", ConsoleLogger);
injector.bindCollection("autostart");
injector.bindToCollection("autostart", UnhandledErrorHandler);
injector.bindCollection("routeGuards");
injector.bindToCollection("routeGuards", SignOutRouteGuard);
injector.bindToCollection("autostart", VisibilityGuard);
injector.bindSingleton("router", DefaultRouter);
injector.bind("apiList", ApiList);
injector.bind("apiListDropdown", ApiListDropdown);
injector.bind("apiListTiles", ApiListTiles);
injector.bind("apiDetails", ApiDetails);
injector.bind("apiHistory", ApiHistory);
injector.bind("operationDetails", OperationDetails);
injector.bind("operationConsole", OperationConsole);
injector.bind("typeDefinition", TypeDefinitionViewModel);