1.4.6 • Published 6 months ago

@types/wordpress__custom-templated-path-webpack-plugin v1.4.6

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

Installation

npm install --save @types/wordpress__custom-templated-path-webpack-plugin

Summary

This package contains type definitions for @wordpress/custom-templated-path-webpack-plugin (https://github.com/WordPress/gutenberg/tree/master/packages/custom-templated-path-webpack-plugin/README.md).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__custom-templated-path-webpack-plugin.

index.d.ts

// Type definitions for @wordpress/custom-templated-path-webpack-plugin 1.4
// Project: https://github.com/WordPress/gutenberg/tree/master/packages/custom-templated-path-webpack-plugin/README.md
// Definitions by: Derek Sifford <https://github.com/dsifford>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

import { Plugin, compilation } from 'webpack';

declare class CustomTemplatedPathPlugin extends Plugin {
    constructor(
        template: Record<
            string,
            (
                path: string,
                data: {
                    basename?: string | undefined;
                    chunk?: compilation.Chunk | undefined;
                    filename?: string | undefined;
                    hash?: string | undefined;
                    query?: any;
                }
            ) => string
        >
    );
}

export = CustomTemplatedPathPlugin;

Additional Details

  • Last updated: Fri, 02 Jul 2021 18:05:51 GMT
  • Dependencies: @types/webpack
  • Global values: none

Credits

These definitions were written by Derek Sifford.

1.4.6

6 months ago

1.4.5

7 months ago

1.4.4

8 months ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

4 years ago

1.4.0

5 years ago