@types/user-event
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3871
0
40