Skip to content

Commit 90638e2

Browse files
authored
feat: expose watcher class types (#555)
## Description This type is required for Pepr [1770](defenseunicorns/pepr#1770) to reduce complexity ## Related Issue Fixes # <!-- or --> Relates to #[1770](defenseunicorns/pepr#1770) ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Other (security config, docs update, etc) ## Checklist before merging - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request) followed Signed-off-by: Case Wylie <[email protected]>
1 parent 517c365 commit 90638e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/fluent/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import { WatchCfg, Watcher } from "./watch";
1010
import https from "https";
1111
import { SecureClientSessionOptions } from "http2";
1212

13+
/*
14+
* Watch Class Type
15+
*/
16+
export type WatcherType<T extends GenericClass> = Watcher<T>;
17+
1318
/**
1419
* Fetch options and server URL
1520
*/

0 commit comments

Comments
 (0)