viddo/atom-textual-velocity

View on GitHub
flow-types/File.js

Summary

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

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

export type FileReadFails = { [filename: string]: string[] };

export type FileReadResult = {
  filename: string,
  notePropName: NotePropName,
  value: any
};

export type RawFile = {
  filename: string,
  stats: Stats
};
export type RenamedFile = {
  filename: string,
  oldFilename?: string
};