0.2.34 • Published 6 months ago

@types/nanoajax v0.2.34

Weekly downloads
244
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/nanoajax

Summary

This package contains type definitions for nanoajax (https://github.com/yanatan16/nanoajax).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nanoajax.

index.d.ts

// Type definitions for nanoajax v0.2.4
// Project: https://github.com/yanatan16/nanoajax
// Definitions by: Nathan Cahill <https://github.com/nathancahill>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped


interface RequestParameters {
    url: string;
    headers?: { [key: string]: string; } | undefined;
    body?: string | FormData | undefined;
    method?: string | undefined;
    cors?: boolean | undefined;
}

interface Callback {
    (statusCode: number, response: string, request: XMLHttpRequest): any
}

export declare function ajax(params: RequestParameters, callback: Callback): XMLHttpRequest

Additional Details

  • Last updated: Thu, 08 Jul 2021 18:51:08 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Nathan Cahill.

0.2.34

6 months ago

0.2.33

7 months ago

0.2.32

8 months ago

0.2.31

3 years ago

0.2.30

7 years ago

0.2.29

8 years ago

0.2.28

8 years ago

0.2.27-alpha

8 years ago

0.2.26-alpha

8 years ago

0.2.25-alpha

8 years ago

0.2.24-alpha

8 years ago

0.2.23-alpha

8 years ago

0.2.22-alpha

8 years ago

0.2.21-alpha

8 years ago

0.2.16-alpha

8 years ago

0.2.15-alpha

8 years ago