Skip to content

Commit

Permalink
Service registry tied to base class (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Aug 8, 2024
1 parent d160fee commit 3b9c35c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/services/DhServiceRegistry.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import * as vscode from 'vscode';
import { CacheService } from './CacheService';
import { type DhServiceConstructor } from './DhService';
import { DhcService } from './DhcService';
import { DhService, type DhServiceConstructor } from './DhService';
import { ensureHasTrailingSlash, ExtendedMap, Toaster } from '../util';

export class DhServiceRegistry<T extends DhcService> extends CacheService<
export class DhServiceRegistry<T extends DhService> extends CacheService<
T,
'disconnect'
> {
Expand Down
1 change: 1 addition & 0 deletions src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export * from './DhService';
export * from './DhcService';
export * from './DhServiceRegistry';
export * from './RunCommandCodeLensProvider';
export * from './DheService';

0 comments on commit 3b9c35c

Please sign in to comment.