Skip to content

add suppor for exporting CORSConfig types #75

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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