mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
00fe438003
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
22 lines
545 B
JavaScript
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');
|