You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[email protected] publishes empty preResponseHandler.d.ts used by HttpEffect #6431
[email protected] publishes dist/unstable/http/HttpEffect.d.ts importing and re-exporting appendPreResponseHandlerUnsafe from ./internal/preResponseHandler.ts, but the published dist/unstable/http/internal/preResponseHandler.d.ts contains only export {}.
With strict TypeScript and skipLibCheck: false, importing the v4 HttpApi/HTTP server surface fails with:
node_modules/effect/dist/unstable/http/HttpEffect.d.ts(9,10): error TS2305: Module '"./internal/preResponseHandler.ts"' has no exported member 'appendPreResponseHandlerUnsafe'.
Set module/moduleResolution to NodeNext, strict mode on, and skipLibCheck: false.
Import HttpApiBuilder from effect/unstable/httpapi or NodeHttpServer from @effect/platform-node.
Run tsc --noEmit.
Package/source mismatch
The matching source file, src/unstable/http/internal/preResponseHandler.ts, exports both requestPreResponseHandlers and appendPreResponseHandlerUnsafe. The runtime JS also contains those exports. Only the generated/published declaration is empty.
Expected
The declaration file should expose the same types-only surface as the source/runtime. No runtime behavior change appears necessary.
Temporary downstream patch
We are temporarily restoring declarations for PreResponseHandler, requestPreResponseHandlers, and appendPreResponseHandlerUnsafe with patch-package. We will remove that patch when the published declaration is corrected.
Activity
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
30 remaining items
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…
chore(effect): park the 4.0.0-rc.113 upgrade until upstream .d.ts fix…