Skip to content

add suppor for exporting CORSConfig types #75

@bylly1

Description

@bylly1

What is the problem this feature would solve?

I want to keep the cors like this

const coreConfig: CorsConfig = {
  ....
}

What is the feature you are proposing to solve the problem?

add suppor for exporting CORSConfig types
import type { CorsConfig } from '@elysiajs/cors'

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions