Skip to content

Commit

Permalink
fix: types of Rule (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed May 17, 2023
1 parent 4732402 commit bb33513
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 142 deletions.
182 changes: 91 additions & 91 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -96,7 +96,7 @@
"standard-version": "^9.3.1",
"typescript": "^4.9.5",
"uglify-js": "^3.17.4",
"webpack": "^5.77.0",
"webpack": "^5.83.1",
"webpack-cli": "^4.10.0",
"worker-loader": "^3.0.8"
},
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Expand Up @@ -25,7 +25,8 @@ const { minify } = require("./minify");
/** @typedef {import("@jridgewell/trace-mapping").SourceMapInput} SourceMapInput */
/** @typedef {import("@jridgewell/trace-mapping").TraceMap} TraceMap */

/** @typedef {string | string[] | RegExp | RegExp[]} Rules */
/** @typedef {RegExp | string} Rule */
/** @typedef {Rule[] | Rule} Rules */

/**
* @callback ExtractCommentsFunction
Expand Down

0 comments on commit bb33513

Please sign in to comment.