flow

server not responding

λ flow
The flow server is not responding (0 retries remaining): /
Out of retries, exiting!

Try killing it;

flow stop

flow-types from react object

This won’t work;

import React, { ReactNode } from 'react';

This will;

import React from 'react';
import type { Node } from 'react';

types can only be used in a .ts file

Not only does flow language support need to be installed, but @builtin TypeScript and JavaScript Language Features needs to be disabled. Thanks Idan Dagan.