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 7, 2024
1 parent 3796e2a commit e9fae3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/DhServiceRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as vscode from 'vscode';
import { CacheService } from './CacheService';
import { DhcService } from './DhcService';
import { ensureHasTrailingSlash, ExtendedMap, Toaster } from '../util';
import { DhServiceConstructor } from './DhService';
import DhService, { DhServiceConstructor } from './DhService';

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 @@ -3,3 +3,4 @@ export * from './Config';
export * from './DhService';
export * from './DhcService';
export * from './DhServiceRegistry';
export * from './DheService';

0 comments on commit e9fae3d

Please sign in to comment.