This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pragmatic typed immutable.js records using typescript 2.1+ | |
// Comment with any suggestions/improvements! | |
import * as fs from 'fs' | |
import { Record, Map } from 'immutable' | |
type Stats = fs.Stats; | |
// Define the basic shape. All properties should be readonly. This model | |
// defines a folder because it seemed easy C: |