@types/gulp-pug-i18n
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Installation

npm install --save @types/gulp-pug-i18n

Summary

This package contains type definitions for gulp-pug-i18n (https://github.com/dogancelik/gulp-pug-i18n).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-pug-i18n.

index.d.ts

/// <reference types="node" />

import { Options as PugOptions } from "pug";
import { Transform } from "stream";

declare function gulpPugI18n(options: gulpPugI18n.Options): Transform;

declare namespace gulpPugI18n {
    interface Options extends PugOptions {
        data?: any;
        i18n: {
            default?: string | undefined;
            filename?: string | undefined;
            locales: string | readonly string[];
            namespace?: string | null | undefined;
        };
    }
}

export = gulpPugI18n;

Additional Details

Credits

These definitions were written by Romain Faust.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-pug-i18n

Weekly Downloads

15

Version

1.0.6

License

MIT

Unpacked Size

3.79 kB

Total Files

5

Last publish

Collaborators

  • types