mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-21 06:13:48 +00:00
3ed9d2ee22
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
21 lines
387 B
TypeScript
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;
|
|
}
|
|
}
|