Skip to content

Commit

Permalink
update type references to use namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpresthus committed Nov 15, 2023
1 parent c8eb413 commit 6088b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/cronitor/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ declare class Monitor {
FAIL: "fail";
OK: "ok";
};
static put(data: MonitorAttributes | MonitorAttributes[], rollback?: boolean): Promise<Monitor | Monitor[]>;
static put(data: Cronitor.MonitorAttributes | Cronitor.MonitorAttributes[], rollback?: boolean): Promise<Monitor | Monitor[]>;
data(): Promise<any>;
pause(hours: number): Promise<boolean>;
unpause(): Promise<boolean>;
ok(params?: TelemetryEvent): Promise<boolean>;
ok(params?: Cronitor.TelemetryEvent): Promise<boolean>;
delete(): Promise<boolean>;
ping(params?: TelemetryEvent): Promise<boolean>;
ping(params?: Cronitor.TelemetryEvent): Promise<boolean>;
}

declare class Event {
Expand Down

0 comments on commit 6088b12

Please sign in to comment.