1.0.6 • Published 6 months ago

@types/gulp-pug-i18n v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for gulp-pug-i18n 1.0
// Project: https://github.com/dogancelik/gulp-pug-i18n
// Definitions by: Romain Faust <https://github.com/romain-faust>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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 | ReadonlyArray<string>;
            namespace?: string | null | undefined;
        };
    }
}

export = gulpPugI18n;

Additional Details

Credits

These definitions were written by Romain Faust.

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

8 months ago

1.0.2

12 months ago

1.0.1

3 years ago

1.0.0

6 years ago