Skip to content

Commit

Permalink
fix(types): resourcetype can have any type, so can collection
Browse files Browse the repository at this point in the history
For e.g. SabreDAV collection is only set, meaning its type after parsing
by the XML parser will be `string` and its value will be just the empty string.

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jul 24, 2024
1 parent e409a59 commit fdf6cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export type DAVResultResponse = DAVResultBaseResponse &
export interface DAVResultResponseProps {
displayname: string;
resourcetype: {
collection?: boolean;
collection?: unknown;
};
getlastmodified?: string;
getetag?: string;
Expand Down

0 comments on commit fdf6cae

Please sign in to comment.