@fem/types

1.0.5 • Public • Published

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;
  ...  
}

Readme

Keywords

none

Package Sidebar

Install

npm i @fem/types

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

38.8 kB

Total Files

13

Last publish

Collaborators

  • itwang