|
|
2 years ago | |
|---|---|---|
| .. | ||
| LICENSE | 2 years ago | |
| README.md | 2 years ago | |
| index.d.ts | 2 years ago | |
| package.json | 2 years ago | |
npm install --save @types/fined
This package contains type definitions for fined (https://github.com/gulpjs/fined).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fined.
// Type definitions for fined 1.1
// Project: https://github.com/gulpjs/fined
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = fined;
declare function fined(path: string | fined.PathSpec, opts?: fined.PathSpec): fined.Result | null;
declare namespace fined {
interface PathSpec {
path?: string | undefined;
name?: string | undefined;
extensions?: string | string[] | { [extension: string]: string | null } | undefined;
cwd?: string | undefined;
findUp?: boolean | undefined;
}
interface Result {
path: string;
extension: string | { [extension: string]: string };
}
}
These definitions were written by BendingBender.