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
26 lines
532 B
JSON
26 lines
532 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"lib": [
|
|
"es6",
|
|
"DOM"
|
|
],
|
|
"target": "es6",
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"baseUrl": "../",
|
|
"typeRoots": [
|
|
"../"
|
|
],
|
|
"types": [],
|
|
"noEmit": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"diva.js-tests.ts"
|
|
]
|
|
}
|