Files
kill-the-news/src/types/mailparser.d.ts
T
Julien Herr 3ed9d2ee22 chore: apply Prettier formatting to entire codebase
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-20 22:01:53 +02:00

21 lines
387 B
TypeScript

// Extend mailparser types for Buffer in worker environment
declare module "buffer-polyfill" {
global {
var Buffer: {
from(
data: string,
encoding?: string,
): {
toString(encoding?: string): string;
};
};
}
}
// Add missing atob declaration
declare module "atob-polyfill" {
global {
function atob(data: string): string;
}
}