Skip to content

Commit

Permalink
fix: ignore any in micropub types
Browse files Browse the repository at this point in the history
  • Loading branch information
grantcodes committed Feb 14, 2025
1 parent 87399aa commit 2d82d84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/micropub.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export interface MicropubSyndicationTarget {
export interface MicropubConfigQueryResponse {
"media-endpoint"?: string;
"syndicate-to"?: MicropubSyndicationTarget[];
// biome-ignore lint/suspicious/noExplicitAny: Could be anything returned from the config query
[key: string]: any;
}

Expand All @@ -43,8 +44,11 @@ export interface MicropubUndeleteActionRequest extends MicropubActionRequest {

export interface MicropubUpdateActionRequest extends MicropubActionRequest {
action: "update";
// biome-ignore lint/suspicious/noExplicitAny: Could be anything inside an update request
replace?: Record<string, any>;
// biome-ignore lint/suspicious/noExplicitAny: Could be anything inside an update request
add?: Record<string, any>;
// biome-ignore lint/suspicious/noExplicitAny: Could be anything inside an update request
delete?: Record<string, any>;
}

Expand Down

0 comments on commit 2d82d84

Please # to comment.