Skip to content

Commit 09f0e7a

Browse files
authored
docs: correct event type in accessibilityDecrement event documentation (NativeScript#10897)
1 parent 2bf4f84 commit 09f0e7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/ui/button/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class Button extends TextBase {
1010
/**
1111
* String value used when hooking to tap event.
1212
*
13-
* @nsEvent {EventData} string;
13+
* @nsEvent {EventData} tap
1414
*/
1515
public static tapEvent: string;
1616

packages/core/ui/slider/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class Slider extends View {
1818
/**
1919
* String value used when hooking to accessibilityDecrement event.
2020
*
21-
* @nsEvent {accessibilityDecrementEvent} accessibilityDecrement
21+
* @nsEvent {AccessibilityDecrementEventData} accessibilityDecrement
2222
*/
2323
static readonly accessibilityDecrementEvent = 'accessibilityDecrement';
2424

0 commit comments

Comments
 (0)