@sentry/wizard
Version:
Sentry wizard helping you to configure your project
18 lines (17 loc) • 540 B
TypeScript
type WranglerConfigUpdates = {
compatibility_date?: string;
compatibility_flags?: string[];
version_metadata?: {
binding: string;
};
[key: string]: unknown;
};
/**
* Updates the wrangler config file with the provided configuration
* Handles .toml (instructions only), .json, and .jsonc formats
* For arrays: merges and deduplicates values
* For objects: deep merges
* For other types: overwrites
*/
export declare function updateWranglerConfig(updates: WranglerConfigUpdates): Promise<boolean>;
export {};