Skip to content

Commit

Permalink
feat: expose watcher class types (#555)
Browse files Browse the repository at this point in the history
## 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]>
  • Loading branch information
cmwylie19 authored Feb 5, 2025
1 parent 517c365 commit 90638e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/fluent/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ import { WatchCfg, Watcher } from "./watch";
import https from "https";
import { SecureClientSessionOptions } from "http2";

/*
* Watch Class Type
*/
export type WatcherType<T extends GenericClass> = Watcher<T>;

/**
* Fetch options and server URL
*/
Expand Down

0 comments on commit 90638e2

Please sign in to comment.