Skip to content

TS2305: Module "openapi3-ts" has no exported member SecurityRequirementObject #141

@gustawdaniel

Description

@gustawdaniel

I trying

import {SecurityRequirementObject} from 'openapi3-ts'

but getting

TS2305: Module "openapi3-ts" has no exported member SecurityRequirementObject

I see this export here:

https://github.com/metadevpro/openapi3-ts/blob/master/src/model/openapi31.ts

currently i recreating this type locally

export type SecurityRequirementObject = {
  [key: string]: string[]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions