Skip to content

S3 Config Type Definition Mismatch Issue #58

@HT-Christopher

Description

@HT-Christopher

The S3 config should be able to set endpoint: field, but now Typescript returning error.

Image

error message:

Object literal may only specify known properties, and 'endpoint' does not exist in type '{ region?: string; sslEnabled?: boolean; credentials?: { accessKeyId?: string; secretAccessKey?: string; }; }'.ts(2353)
index.d.ts(23, 3): The expected type comes from property 'config' which is declared here on type 'S3StreamLoggerOptions'

Image

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