Skip to content

Commit

Permalink
fix: update TS definition for v5 (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
lagunovsky committed Apr 6, 2022
1 parent 03bc2bb commit c0e7b65
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
declare namespace AddAssetHtmlPlugin {
interface Options {
type Options = {
/**
* The absolute path of the file you want to add to the compilation, and resulting HTML file.
* Mandatory.
* The absolute path of the file you want to add to the compilation and resulting HTML file.
*/
filepath: string;

} | {
/**
* The path as a glob pattern you want to add to the compilation and resulting HTML file.
*/
glob: string;
} & {
/**
* Files that the assets will be added to.
* By default the assets will be included in all files. If files are defined, the
Expand Down

0 comments on commit c0e7b65

Please sign in to comment.