diff --git a/README.md b/README.md index e5896cc2a8..f212285d64 100755 --- a/README.md +++ b/README.md @@ -57,6 +57,15 @@ Using cdn: ## Example +### note: CommonJS usage +In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()` use the following approach: + +```js +const axios = require('axios').default; + +// axios. will now provide autocomplete and parameter typings +``` + Performing a `GET` request ```js