mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Merge pull request #3609 from biswarup91/patch-2
Fixed config type of $upload.http()
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ declare module ng.angularFileUpload {
|
||||
|
||||
interface IUploadService {
|
||||
|
||||
http<T>(config: IFileUploadConfig): IUploadPromise<T>;
|
||||
http<T>(config: ng.IRequestConfig): IUploadPromise<T>;
|
||||
upload<T>(config: IFileUploadConfig): IUploadPromise<T>;
|
||||
}
|
||||
|
||||
@@ -23,4 +23,4 @@ declare module ng.angularFileUpload {
|
||||
file: File;
|
||||
fileName?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user