2019-06-25 04:51:26 +03:00
|
|
|
/**
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*
|
|
|
|
* @format
|
|
|
|
* @flow
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
2019-08-02 01:01:57 +03:00
|
|
|
type Options<T = string> = $ReadOnly<{|
|
|
|
|
supportedCommands: $ReadOnlyArray<T>,
|
|
|
|
|}>;
|
|
|
|
|
|
|
|
function codegenNativeCommands<T>(options: Options<$Keys<T>>): T {
|
2019-06-25 04:51:26 +03:00
|
|
|
return (({}: any): T);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default codegenNativeCommands;
|