8000 Support Cookie 1.x · Issue #5231 · socketio/socket.io · GitHub
[go: up one dir, main page]

Skip to content
Support Cookie 1.x #5231
@MikaKarjunen

Description

@MikaKarjunen

Is your feature request related to a problem? Please describe.
If for some reason cookie 1.x is installed the compilation fails with following error message.
node_modules/engine.io/build/server.d.ts:4:15 - error TS2724: '"cookie"' has no exported member named 'CookieSerializeOptions'. Did you mean 'SerializeOptions'?

Describe the solution you'd like
Obviously something needs to change. I guess CookieSerializeOptions was renamed to SerializeOptions?

Describe alternatives you've considered
Sticking with 0.7.2 but that's hardly a long term solution.

Additional context
I recon this is pretty straight forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0