From 38fb31bc7ff82722a9aecf3855ba50cffedd3599 Mon Sep 17 00:00:00 2001 From: Nick Lemmon Date: Fri, 16 Feb 2024 10:32:23 -0500 Subject: [PATCH] fix: and interfaces are consistently cased with other option interfaces (#612) --- src/commands/mouseDown.ts | 4 ++-- src/commands/mouseUp.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/mouseDown.ts b/src/commands/mouseDown.ts index 5d33281..498d739 100644 --- a/src/commands/mouseDown.ts +++ b/src/commands/mouseDown.ts @@ -7,7 +7,7 @@ import { import { mouseButtonNumbers } from "../mouseButtonNumbers"; import { getModifiers } from "../getModifiers"; -export interface realMouseDownOptions { +export interface RealMouseDownOptions { /** Pointer type for realMouseDown, if "pen" touch simulated */ pointer?: "mouse" | "pen"; /** @@ -59,7 +59,7 @@ export interface realMouseDownOptions { /** @ignore this, update documentation for this function at index.d.ts */ export async function realMouseDown( subject: JQuery, - options: realMouseDownOptions = {}, + options: RealMouseDownOptions = {}, ) { const position = options.x && options.y ? { x: options.x, y: options.y } : options.position; diff --git a/src/commands/mouseUp.ts b/src/commands/mouseUp.ts index 64a61e0..f5f9185 100644 --- a/src/commands/mouseUp.ts +++ b/src/commands/mouseUp.ts @@ -7,7 +7,7 @@ import { import { mouseButtonNumbers } from "../mouseButtonNumbers"; import { getModifiers } from "../getModifiers"; -export interface realMouseUpOptions { +export interface RealMouseUpOptions { /** Pointer type for realMouseUp, if "pen" touch simulated */ pointer?: "mouse" | "pen"; /** @@ -49,7 +49,7 @@ export interface realMouseUpOptions { /** @ignore this, update documentation for this function at index.d.ts */ export async function realMouseUp( subject: JQuery, - options: realMouseUpOptions = {}, + options: RealMouseUpOptions = {}, ) { const position = options.x && options.y ? { x: options.x, y: options.y } : options.position;