Create testing area

This commit is contained in:
August (Chris)
2019-04-23 15:17:48 -07:00
committed by GitHub
parent 7b998efa04
commit 40c962a0c6

View File

@@ -0,0 +1,14 @@
import w from '../index';
interface Yeetus
{
yes: boolean;
}
(async() => {
const res = await w('https://myurl.org', { method: 'GET' }).send();
const res1 = await w('https://myurl.org', { method: 'GET', chaining: false });
const d = res.json<Yeetus>();
const d1 = res.json();
})();