From f9373e96f29baebd90dd89aa3a0cd35fc918f27b Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Wed, 7 Mar 2018 22:17:44 -0800 Subject: [PATCH] Added tests for additional type parameters --- test/typescript/axios.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/typescript/axios.ts b/test/typescript/axios.ts index 5afadd9..eb6e3fe 100644 --- a/test/typescript/axios.ts +++ b/test/typescript/axios.ts @@ -120,6 +120,14 @@ axios.get('/user', { params: { id: 12345 } }) .then(handleUserResponse) .catch(handleError); +axios.head('/user') + .then(handleResponse) + .catch(handleError); + +axios.delete('/user') + .then(handleResponse) + .catch(handleError); + axios.post('/user', { foo: 'bar' }) .then(handleUserResponse) .catch(handleError);