Skip to content

Commit

Permalink
Remove AccessibilityInfo.flow
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal] Remove flow declaration in preparation for TS generation

Reviewed By: christophpurrer

Differential Revision: D42350837

fbshipit-source-id: 05e80226931cdea04e7f14ddf2876297ab31ada7
  • Loading branch information
lunaleaps authored and facebook-github-bot committed Jan 11, 2023
1 parent 69716ad commit da41539
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 210 deletions.
208 changes: 0 additions & 208 deletions Libraries/Components/AccessibilityInfo/AccessibilityInfo.flow.js

This file was deleted.

3 changes: 1 addition & 2 deletions Libraries/Components/AccessibilityInfo/AccessibilityInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';
import type {EventSubscription} from '../../vendor/emitter/EventEmitter';
import type {AccessibilityInfoType} from './AccessibilityInfo.flow';
import type {ElementRef} from 'react';

import RCTDeviceEventEmitter from '../../EventEmitter/RCTDeviceEventEmitter';
Expand Down Expand Up @@ -75,7 +74,7 @@ const EventNames: Map<
*
* See https://reactnative.dev/docs/accessibilityinfo
*/
const AccessibilityInfo: AccessibilityInfoType = {
const AccessibilityInfo = {
/**
* Query whether bold text is currently enabled.
*
Expand Down

0 comments on commit da41539

Please sign in to comment.