mirror of https://github.com/webpack/webpack.git
add type for resource and context
This commit is contained in:
parent
4c3f04a7cf
commit
a96ac96780
|
|
@ -22,7 +22,7 @@ class IgnorePlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {TODO} resource resource
|
||||
* @param {string} resource resource
|
||||
* @returns {boolean} returns true if a "resourceRegExp" exists
|
||||
* and the resource given matches the regexp.
|
||||
*/
|
||||
|
|
@ -34,7 +34,7 @@ class IgnorePlugin {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {TODO} context context
|
||||
* @param {string} context context
|
||||
* @returns {boolean} returns true if "contextRegExp" does not exist
|
||||
* or if context matches the given regexp.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue