Skip to content
This repository was archived by the owner on Oct 2, 2022. It is now read-only.
This repository was archived by the owner on Oct 2, 2022. It is now read-only.

Doesn't work with Cosmiconfig sync API #134

Open
@matthew-dean

Description

@matthew-dean

Description

When using cosmiconfigSync, the result from search returns a promise on the config property.

What went wrong?

A promise was returned instead of the result.

What did you expect should have happened?

If I remove this loader, cosmiconfigSync / explorerSync works as expected. The config is an object, not a promise.

What was the config you used?

// {moduleName}.config.js

export default {
  options: {
    global: true
  }
}

What stacktrace or error messages did you see?

N/A

Similar or dependent issues:

  • none found

Additional Data

Version of cosmiconfig-typescript-loader you're using:
3.0.2
Node Version:
10.22.0
Operating System:
macOS 10.15.7

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