1.0.5 • Published 6 years ago
@fem/types v1.0.5
Flow types for fem
Flow definitions for fem plugins and internal code.
Usage
To set up the types we need to add them to the .flowconfig
flow configuration file.
[libs]
node_modules/@fem/types/lib/
[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
Imports
import type { ILocalData, LocalStorage, Logger, Config } from '@fem/types';
class LocalData implements ILocalData {
path: string;
logger: Logger;
data: LocalStorage;
config: Config;
locked: boolean;
...
}