PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/Libraries/Settings

Просмотр файла: SettingsFallback.js

/**
 * 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
 * @format
 */

'use strict';

const Settings = {
  get(key: string): any {
    console.warn('Settings is not yet supported on this platform.');
    return null;
  },

  set(settings: Object) {
    console.warn('Settings is not yet supported on this platform.');
  },

  watchKeys(keys: string | Array<string>, callback: () => void): number {
    console.warn('Settings is not yet supported on this platform.');
    return -1;
  },

  clearWatch(watchId: number) {
    console.warn('Settings is not yet supported on this platform.');
  },
};

export default Settings;

Выполнить команду


Для локальной разработки. Не используйте в интернете!