Skip to content

Commit

Permalink
Merge pull request #3 from RyanRoll/fix/readme
Browse files Browse the repository at this point in the history
fix: update readme
  • Loading branch information
RyanRoll authored Aug 17, 2019
2 parents 3267900 + 87621a7 commit c28ec2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# React Use API

[![npm](https://img.shields.io/npm/v/react-use-api?label=version)](https://www.npmjs.com/package/react-use-api)
![Travis (.org)](https://img.shields.io/travis/RyanRoll/react-user-api)
[![Build Status](https://travis-ci.org/RyanRoll/react-use-api.svg?branch=master)](https://travis-ci.org/RyanRoll/react-use-api)
[![Coverage Status](https://coveralls.io/repos/github/RyanRoll/react-use-api/badge.svg?branch=feat/develop)](https://coveralls.io/github/RyanRoll/react-use-api?branch=feat/develop)
![npm type definitions](https://img.shields.io/npm/types/react-use-api)
![React](https://img.shields.io/badge/React-%3E%3Dv16.9.0-red)
Expand Down Expand Up @@ -226,7 +226,7 @@ A function allows requesting API data again. This function will trigger re-rende

## TypeScript Support

All the associated types are provided by the namespace `ReactUseApi` as long as importing `react-use-api`.
All the associated types are provided by the namespace [ReactUseApi](src/typings.d.ts) as long as importing `react-use-api`.

> NOTE, this only works if you set up compilerOptions.typeRoots: ["node_modules/@types"] in your tsconfig.json.
Expand Down

0 comments on commit c28ec2a

Please sign in to comment.