mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
This commit is contained in:
@ -14,11 +14,8 @@ function lazy<T>(action: () => T): () => T {
|
||||
|
||||
return () => _value || (_value = action());
|
||||
}
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const percentLengthToStringLazy = lazy<(length) => string>(() => require('../ui/styling/style-properties').PercentLength.convertToString);
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const getSetPropertiesLazy = lazy<(view: ViewBase) => [string, any][]>(() => require('../ui/core/properties').getSetProperties);
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const getComputedCssValuesLazy = lazy<(view: ViewBase) => [string, any][]>(() => require('../ui/core/properties').getComputedCssValues);
|
||||
|
||||
export function registerInspectorEvents(inspector: InspectorEvents) {
|
||||
|
Reference in New Issue
Block a user