Files
react-native/Libraries/NativeModules/specs/NativeAnimationsDebugModule.js
T
Eric Lewis 00fe438003 Add spec for AnimationsDebugModule (#24915)
Summary:
Part of #24875.

## Changelog

[General] [Added] - Add TM spec for AnimationsDebugModule
Pull Request resolved: https://github.com/facebook/react-native/pull/24915

Reviewed By: RSNara

Differential Revision: D15421499

Pulled By: fkgozali

fbshipit-source-id: f52780773f5947097b75c4d776a0b80e0bc1d387
2019-05-20 18:05:54 -07:00

22 lines
545 B
JavaScript

/**
* 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.
*
* @flow
* @format
*/
'use strict';
import type {TurboModule} from 'RCTExport';
import * as TurboModuleRegistry from 'TurboModuleRegistry';
export interface Spec extends TurboModule {
+startRecordingFps: () => void;
+stopRecordingFps: (animationStopTimeMs: number) => void;
}
export default TurboModuleRegistry.get<Spec>('AnimationsDebugModule');