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
This commit is contained in:
Eric Lewis 2019-05-20 18:00:34 -07:00 коммит произвёл Facebook Github Bot
Родитель 580088c199
Коммит 00fe438003
1 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,21 @@
/**
* 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');