@types/react
Advanced tools
Comparing version 19.0.9 to 19.0.10
@@ -198,2 +198,16 @@ /** | ||
export const unstable_ViewTransition: ExoticComponent<ViewTransitionProps>; | ||
// Implemented by the specific renderer e.g. `react-dom`. | ||
// Keep in mind that augmented interfaces merge their JSDoc so if you put | ||
// JSDoc here and in the renderer, the IDE will display both. | ||
export interface GestureProvider {} | ||
export type StartGesture = (gestureProvider: GestureProvider) => () => void; | ||
/** */ | ||
export function unstable_useSwipeTransition<Value>( | ||
previous: Value, | ||
current: Value, | ||
next: Value, | ||
): [value: Value, startGesture: StartGesture]; | ||
} |
{ | ||
"name": "@types/react", | ||
"version": "19.0.9", | ||
"version": "19.0.10", | ||
"description": "TypeScript definitions for react", | ||
@@ -208,4 +208,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "da61cd14a456db728da7a08fe8f1531a8fa359708106498f19f9321ef393e111", | ||
"typesPublisherContentHash": "866870a471a9f75a7bad0d802190bda33dc498e45eed9f500e45e4a979789f47", | ||
"typeScriptVersion": "5.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 16 Feb 2025 12:44:21 GMT | ||
* Last updated: Mon, 17 Feb 2025 09:33:55 GMT | ||
* Dependencies: [csstype](https://npmjs.com/package/csstype) | ||
@@ -14,0 +14,0 @@ |
@@ -198,2 +198,16 @@ /** | ||
export const unstable_ViewTransition: ExoticComponent<ViewTransitionProps>; | ||
// Implemented by the specific renderer e.g. `react-dom`. | ||
// Keep in mind that augmented interfaces merge their JSDoc so if you put | ||
// JSDoc here and in the renderer, the IDE will display both. | ||
export interface GestureProvider {} | ||
export type StartGesture = (gestureProvider: GestureProvider) => () => void; | ||
/** */ | ||
export function unstable_useSwipeTransition<Value>( | ||
previous: Value, | ||
current: Value, | ||
next: Value, | ||
): [value: Value, startGesture: StartGesture]; | ||
} |
800777
17745
58