1.0.6 • Published 2 years ago

@types/gulp-pug-i18n v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

4 years ago

1.0.0

7 years ago