@types/wordpress__custom-templated-path-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.4.6 • Public • Published

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

import { compilation, Plugin } 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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/webpack

Credits

These definitions were written by Derek Sifford.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/wordpress__custom-templated-path-webpack-plugin

Weekly Downloads

25

Version

1.4.6

License

MIT

Unpacked Size

4.15 kB

Total Files

5

Last publish

Collaborators

  • types