mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: update tslint rules (#7391)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {
|
||||
import {
|
||||
GridLayoutBase, ItemSpec as ItemSpecBase, View, layout,
|
||||
rowProperty, columnProperty, rowSpanProperty, columnSpanProperty, GridUnitType
|
||||
} from "./grid-layout-common";
|
||||
@@ -13,7 +13,7 @@ function makeNativeSetter<T>(setter: (lp: org.nativescript.widgets.CommonLayoutP
|
||||
setter(lp, value);
|
||||
nativeView.setLayoutParams(lp);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
View.prototype[rowProperty.setNative] = makeNativeSetter<number>((lp, value) => lp.row = value);
|
||||
|
||||
Reference in New Issue
Block a user