Fix types

This commit is contained in:
SukkaW
2024-10-09 21:10:25 +08:00
parent 3e7ef5a294
commit 99e5d46531
3 changed files with 13 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ export class Custom304NotModifiedError extends Error {
public readonly name = 'Custom304NotModifiedError';
public readonly digest = 'Custom304NotModifiedError';
constructor(public readonly url: string) {
constructor(public readonly url: string, public readonly data: string) {
super('304 Not Modified');
}
}