Skip to content

Commit 3ddea61

Browse files
Alex Taylor (alta)facebook-github-bot
Alex Taylor (alta)
authored andcommitted
Pre-suppress flow errors for v0.246.0 release
Summary: [flow] Pre-suppress flow errors for v0.246.0 release Reviewed By: SamChou19815 Differential Revision: D62778097 fbshipit-source-id: bdfb5b71dbe23d6ddfa2c2acfa50be5bf4348268
1 parent e52b5ff commit 3ddea61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/metro-file-map/src/watchers/FSEventsWatcher.js

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import type {ChangeEventMetadata} from '../flow-types';
1212
import type {Stats} from 'fs';
1313
// $FlowFixMe[cannot-resolve-module] - Optional, Darwin only
14+
// $FlowFixMe[untyped-type-import]
1415
import type {FSEvents} from 'fsevents';
1516

1617
import {isIncluded, typeFromStat} from './common';
@@ -26,9 +27,11 @@ const debug = require('debug')('Metro:FSEventsWatcher');
2627

2728
type Matcher = typeof anymatch.Matcher;
2829

30+
// $FlowFixMe[value-as-type]
2931
let fsevents: ?FSEvents = null;
3032
try {
3133
// $FlowFixMe[cannot-resolve-module] - Optional, Darwin only
34+
// $FlowFixMe[untyped-import]
3235
fsevents = require('fsevents');
3336
} catch {
3437
// Optional dependency, only supported on Darwin.

0 commit comments

Comments
 (0)