Browse Source
The browser path helper briefly acted as a type predicate, which made existing non-browser path branches narrow to never under the production build. The callers now guard nullable paths explicitly while the helper stays a plain boolean check. Constraint: ProjectSetupModal depends on checking both browserfs paths and regular filesystem strings in the same helper flow. Confidence: high Scope-risk: narrow Tested: npm test -- --run src/components/__tests__/GenerateImageNode.test.tsx src/store/execution/__tests__/nanoBananaExecutor.test.ts src/components/__tests__/GenerationComposer.test.tsx Tested: npx tsc --noEmit --pretty false filtered to touched browser path files Not-tested: Full tsc remains blocked by existing test typing errors outside this change scopefeature/canvas-chatbot-copilot
4 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue