Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Improved Typings for API class #210

Merged
merged 1 commit into from
Oct 22, 2019
Merged

Conversation

tmkn
Copy link
Contributor

@tmkn tmkn commented Oct 21, 2019

This PR removes some ts-ignore instructions that where placed around theAPI class.

No actual code changes, just more streamlined typings, even though I would like to rewrite the API class with async/await syntax later. But since there is nothing wrong with the actual promised based code I didn't for this PR.

@codecov
Copy link

codecov bot commented Oct 21, 2019

Codecov Report

Merging #210 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #210   +/-   ##
=======================================
  Coverage   86.95%   86.95%           
=======================================
  Files         117      117           
  Lines         874      874           
  Branches      160      160           
=======================================
  Hits          760      760           
  Misses         97       97           
  Partials       17       17
Impacted Files Coverage Δ
src/utils/calls.ts 0% <ø> (ø) ⬆️
src/utils/api.ts 32% <ø> (ø) ⬆️
src/components/Search/Search.tsx 100% <ø> (ø) ⬆️

Copy link
Member

@juanpicado juanpicado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🚀

@juanpicado juanpicado merged commit 5d6ad3d into verdaccio:master Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants