Skip to content

Commit bd775aa

Browse files
committed
fix: typings fix
1 parent 27ed4c7 commit bd775aa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/gesturehandler/gesturehandler.common.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ export function nativeProperty(...args) {
108108
}
109109
}
110110
export abstract class BaseNative<T, U extends {}> extends Observable {
111-
constructor(public options?: U, native?: T) {
111+
constructor(
112+
public options?: U,
113+
native?: T
114+
) {
112115
super();
113116
if (native) {
114117
this.native = native;

src/gesturehandler/gesturehandler.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable no-redeclare */
2-
import { Observable } from '@nativescript/core/data/observable';
2+
import Observable from '@nativescript-community/observable';
33
import { View } from '@nativescript/core';
44
import { BaseGestureRootView, HandlerType, OptionsTypeMap, TypeMap } from './gesturehandler.common';
55

0 commit comments

Comments
 (0)