-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cep is not a function no Angular 5 #112
Comments
Typescript man @claytonsilva, eu invoco vc! 😄 |
:D invocado, tá na minha roadmap do dia já :D |
Parabéns pelo projeto e pela atenção |
in issue BrasilAPI#112, we saw the problem with angular 5. in my tests, i install angular 5 and rollback the definition without workarround solved for default function microsoft/TypeScript#5073 and this back work, i think this worked because typescript can have a fix in recent version.
Pessoal fiz uns testes com angular 5 e parece que teve atualização do typescript que acabou resolvendo um velho problema. Já mandei a pr pra ajustar a chamada do cep com typings mais |
@lucianopf malz demora :( |
Hahaha, rlx mano, aqui é open, contrib tem que vir quando tem tempo msm! 😂 👍 |
A issue ainda é válida @rdorta ? 🤔 |
Confesso que não utilizei mais. Vou tentar reproduzir novamente |
Primeiramente parabéns pelo projeto.
Ao utilizar com Angular 5, após a instalação via npm:
Utilização:
import * as cepFunction from 'cep-promise'
cepFunction('18110-210').then(console.log);
ERRO:
ERROR TypeError: cepFunction is not a function
The text was updated successfully, but these errors were encountered: