Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/testing-library__user-event

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/testing-library__user-event - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

17

testing-library__user-event/index.d.ts
// Type definitions for @testing-library/user-event 4.1
// Project: https://github.com/testing-library/user-event
// Definitions by: Wu Haotian <https://github.com/whtsky>
// Weyert de Boer <https://github.com/weyert>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface UserOpts {
export interface UserOptions {
allAtOnce?: boolean;

@@ -11,9 +12,15 @@ delay?: number;

type TargetElement = Element | Window;
declare const userEvent: {
click: (element: Element | Window) => void;
dblClick: (element: Element | Window) => void;
selectOptions: (element: Element | Window, values: string | string[]) => void;
type: (element: Element | Window, text: string, userOpts?: UserOpts) => Promise<void>;
click: (element: TargetElement) => void;
dblClick: (element: TargetElement) => void;
selectOptions: (element: TargetElement, values: string | string[]) => void;
type: (
element: TargetElement,
text: string,
userOpts?: UserOptions,
) => Promise<void>;
};
export default userEvent;
{
"name": "@types/testing-library__user-event",
"version": "4.1.0",
"version": "4.1.1",
"description": "TypeScript definitions for @testing-library/user-event",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "whtsky"
},
{
"name": "Weyert de Boer",
"url": "https://github.com/weyert",
"githubUsername": "weyert"
}

@@ -23,4 +28,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "739b6ced73da1432684d4a85b90dc30ad77aa34045015efb0e6635a8af1ee011",
"typesPublisherContentHash": "610533f33a78d176dfb5a8b2aec3f2ffd32a4b4afb44a9a29b22bbeba1476e9c",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 26 Jun 2019 12:54:25 GMT
* Last updated: Thu, 15 Aug 2019 18:09:41 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Wu Haotian <https://github.com/whtsky>.
These definitions were written by Wu Haotian <https://github.com/whtsky>, and Weyert de Boer <https://github.com/weyert>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc