Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/mem-fs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm install --save @types/mem-fs
Summary
This package contains type definitions for mem-fs (https://github.com/sboudrias/mem-fs).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mem-fs.
index.d.ts
// Type definitions for mem-fs 1.1
// Project: https://github.com/sboudrias/mem-fs
// Definitions by: My Food Bag <https://github.com/MyFoodBag>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { EventEmitter } from "events";
import { Transform } from "stream";
import * as File from "vinyl";
export interface Store extends EventEmitter {
get: (filepath: string) => File;
add: (file: File) => this;
each: (callback: (file: File, index: number) => void) => this;
stream: () => Transform;
}
export function create(): Store;
export namespace memFs {
}
Additional Details
- Last updated: Wed, 27 Sep 2023 09:42:15 GMT
- Dependencies: @types/node, @types/vinyl
- Global values: none
Credits
These definitions were written by My Food Bag.