Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Aug 10, 2023
1 parent 2a7d06d commit c7dd214
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,9 @@ type Without<T, K> = {

// Using the Without type, we essentially make a new ServiceObject type that
// doesn't contain any of the methods that have signatures we wish to override.
type ZoneServiceObject = new (config: ServiceObjectConfig) => Without<
ServiceObject<Zone>,
'create' | 'delete' | 'get'
>;
type ZoneServiceObject = new (
config: ServiceObjectConfig
) => Without<ServiceObject<Zone>, 'create' | 'delete' | 'get'>;

// This is used purely for making TypeScript think that the object we are
// subclassing does not contain a signature mismatch for methods we are
Expand Down

0 comments on commit c7dd214

Please sign in to comment.