UNPKG

@react-native/compatibility-check

Version:

Check a React Native app's boundary between JS and Native for incompatibilities

21 lines (17 loc) 621 B
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ import type { CompleteTypeAnnotation } from "@react-native/codegen/src/CodegenSchema"; declare export function sortTypeAnnotations( annotations: $ReadOnlyArray<CompleteTypeAnnotation>, ): Array<[number, CompleteTypeAnnotation]>; declare export function compareTypeAnnotationForSorting( $$PARAM_0$$: [number, CompleteTypeAnnotation], $$PARAM_1$$: [number, CompleteTypeAnnotation], ): number;