mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Added: some tests
This commit is contained in:
@@ -1,2 +1,20 @@
|
||||
import { Observable } from 'rxjs';
|
||||
import httpRx = require('http-rx');
|
||||
|
||||
httpRx.get('', {}).subscribe(() => {});
|
||||
httpRx.get('', {}).pipe();
|
||||
|
||||
httpRx.head('', {}).subscribe(() => {});
|
||||
httpRx.head('', {}).pipe();
|
||||
|
||||
httpRx.patch('', {}).subscribe(() => {});
|
||||
httpRx.patch('', {}).pipe();
|
||||
|
||||
httpRx.post('', {}).subscribe(() => {});
|
||||
httpRx.post('', {}).pipe();
|
||||
|
||||
httpRx.put('', {}).subscribe(() => {});
|
||||
httpRx.put('', {}).pipe();
|
||||
|
||||
httpRx.delete('', {}).subscribe(() => {});
|
||||
httpRx.delete('', {}).pipe();
|
||||
|
||||
Vendored
+2
-1
@@ -19,4 +19,5 @@ interface HttpRx {
|
||||
'delete'(url: string, options: any): Observable<any>;
|
||||
}
|
||||
|
||||
export = HttpRx;
|
||||
declare const httpRx: HttpRx;
|
||||
export = httpRx;
|
||||
|
||||
Reference in New Issue
Block a user