Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2019-12-05 10:57:37 +01:00
parent 45b19bd4fe
commit 925b9c2d7f
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16

View File

@ -188,7 +188,7 @@ export default class FormManager {
* @returns {boolean} return if the content was sent or not
* @memberof FormManager
*/
public send(url: string, callback?: (this: XMLHttpRequest, ev: ProgressEvent) => void, options: {verify?:boolean, method?: string} = {verify: true, method: "POST"}): boolean {
public send(url: string, callback?: (this: XMLHttpRequest, ev: ProgressEvent<XMLHttpRequestEventTarget>) => void, options: {verify?:boolean, method?: string} = {verify: true, method: "POST"}): boolean {
// Fetch datas
let datas = this.getJSON()