BrasilAPI / BrasilAPI/cep-promise

[Typescript] Cannot use namespace 'cep' as a value.ts

Open
#245 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

Someone else has the same problem when using with Typescript?

Steps to reproduce:

```import cep, { CEP } from 'cep-promise';```

....

```const data = await cep(str, {});```

Version: 4.1.2

I think that is a conflict definition for library.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.