@launchdarkly/react-native-client-sdk - v10.23.2
    Preparing search index...

    Function toRequestInit

    • Converts the request options into the init shape a platform's native fetch accepts. A platform can declare its AbortSignal as a lexical class, which AbortSignalLike cannot resolve to, so the signal member widens here. The caller must pass a signal created by the running platform. The widening then only restores the type the runtime already has.

      Parameters

      Returns Omit<Options, "signal"> & { signal?: any }