mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-15 12:17:21 +00:00
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
17 lines
523 B
TypeScript
17 lines
523 B
TypeScript
// Type definitions for ajv
|
|
// Project: https://github.com/sindresorhus/devtools-detect
|
|
// Definitions by: York Yao <https://github.com/plantain-00/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
type DevTools = {
|
|
open: boolean;
|
|
orientation: "vertical" | "horizontal";
|
|
};
|
|
interface DevToolsEvent extends Event {
|
|
detail: DevTools;
|
|
}
|
|
interface Window {
|
|
devtools: DevTools;
|
|
addEventListener(type: "devtoolschange", listener: (ev: DevToolsEvent) => any, useCapture?: boolean): void;
|
|
}
|