chore: update tslint rules (#7391)

This commit is contained in:
Manol Donev
2019-06-26 15:13:48 +03:00
committed by GitHub
parent 92370279d8
commit 4f39fb728b
399 changed files with 3101 additions and 2210 deletions

View File

@@ -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);