mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Remove trailing whitespace
This commit is contained in:
parent
f901af9947
commit
e0eda64a9c
16
types/react-native/index.d.ts
vendored
16
types/react-native/index.d.ts
vendored
@ -6265,18 +6265,18 @@ type AccessibilityChangeEventName = 'change' | 'announcementFinished';
|
||||
*/
|
||||
export interface AccessibilityInfoStatic {
|
||||
/**
|
||||
* Query whether a screen reader is currently enabled.
|
||||
* Query whether a screen reader is currently enabled.
|
||||
* Returns a promise which resolves to a boolean. The result is true when a screen reader is enabled and false otherwise.
|
||||
*/
|
||||
fetch(): Promise<boolean>;
|
||||
|
||||
|
||||
/**
|
||||
* Add an event handler. Supported events:
|
||||
* - change: Fires when the state of the screen reader changes.
|
||||
* The argument to the event handler is a boolean.
|
||||
* - change: Fires when the state of the screen reader changes.
|
||||
* The argument to the event handler is a boolean.
|
||||
* The boolean is true when a screen reader is enabled and false otherwise.
|
||||
*
|
||||
* - announcementFinished: iOS-only event. Fires when the screen reader has finished making an announcement.
|
||||
*
|
||||
* - announcementFinished: iOS-only event. Fires when the screen reader has finished making an announcement.
|
||||
* The argument to the event handler is a dictionary with these keys:
|
||||
* - announcement: The string announced by the screen reader.
|
||||
* - success: A boolean indicating whether the announcement was successfully made.
|
||||
@ -6290,14 +6290,14 @@ export interface AccessibilityInfoStatic {
|
||||
|
||||
/**
|
||||
* Set acessibility focus to a react component.
|
||||
*
|
||||
*
|
||||
* @platform ios
|
||||
*/
|
||||
setAccessibilityFocus(reactTag: number): void;
|
||||
|
||||
/**
|
||||
* Post a string to be announced by the screen reader.
|
||||
*
|
||||
*
|
||||
* @platform ios
|
||||
*/
|
||||
announceFoAccessibility(announcement: string): void;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user