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

@types/user-event

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/user-event - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

4

user-event/index.d.ts

@@ -7,4 +7,4 @@ // Type definitions for user-event 4.1

export interface UserOpts {
allAtOnce?: boolean;
delay?: number;
allAtOnce?: boolean | undefined;
delay?: number | undefined;
}

@@ -11,0 +11,0 @@ declare const userEvent: {

{
"name": "@types/user-event",
"version": "4.1.0",
"version": "4.1.1",
"description": "TypeScript definitions for user-event",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/user-event",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "ce25542a698421ba18b455975c88943902a9c628bae4ae284ba08bc13f8c87a6",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "5daffec79b97e8bfc4ff5e0661cf22131702ccc39190eae54d5253ac2d6f7ae2",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,29 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/user-event
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/user-event.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/user-event/index.d.ts)
````ts
// Type definitions for user-event 4.1
// Project: https://github.com/testing-library/user-event
// Definitions by: Wu Haotian <https://github.com/whtsky>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
Additional Details
* Last updated: Wed, 26 Jun 2019 12:54:25 GMT
export interface UserOpts {
allAtOnce?: boolean | undefined;
delay?: number | undefined;
}
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>;
};
export default userEvent;
````
### Additional Details
* Last updated: Fri, 02 Jul 2021 18:04:53 GMT
* Dependencies: none

@@ -17,2 +40,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).

Sorry, the diff of this file is not supported yet

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