mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Initial commit autogenerated with dts-gen * Add public functions to Diva class * Add Settings definition. * First attempt at adding Events * Apply linting, fix default export to include class and Events * Simple tests Ensure the Diva class constructor exists along with the Events class. Check that Diva class functions work. * Move interfaces to separate file. * Set members of Diva class. * Add Region and Dimensions interfaces. * Add definition for Viewport class * Add Offset interface * Add DocumentLayout class * Move interfaces to interfaces.d.ts * Add types for Renderer class * Add ViewerCore class types, use in index.d.ts * Move Settings type declaration to interfaces.d.ts * Add settings member to Diva * Change ViewerState.renderer type from object to Renderer * Type of ViewerState.viewport from object to Viewport * Use global import in tests. * Add ImageManifest class. * Replace XMLHttpRequest with Promise<Response> Diva.js uses fetch(), which returns a Promise<Response>. * Add types for the ViewHandler * Properly type members of Viewport |
||
|---|---|---|
| .. | ||
| diva.js-tests.ts | ||
| document-layout.d.ts | ||
| handlers.d.ts | ||
| image-manifest.d.ts | ||
| index.d.ts | ||
| interfaces.d.ts | ||
| renderer.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||
| viewer-core.d.ts | ||
| viewport.d.ts | ||