- Convert if/else chains to proper type narrowing patterns - Use type assertions to avoid discriminated union issues - Simplify EffectPreset and DEFAULT_PARAMS types using any - Fix TypeScript strict mode compilation errors - Reorder handler logic to avoid type narrowing conflicts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>