viddo/atom-textual-velocity

View on GitHub
flow-types/IFileReader.js

Summary

Maintainability
A
0 mins
Test Coverage
/* @flow */

import type { Stats } from "fs";
import type { NodeCallback } from "./NodeCallback";
import type { NotePropName } from "./Note";

export interface IFileReader {
  notePropName: NotePropName;
  read(path: string, fileStats: Stats, callback: NodeCallback): void;
}