diff --git a/packages/alias/README.md b/packages/alias/README.md
index 4f2dff0d5..a2848a6af 100644
--- a/packages/alias/README.md
+++ b/packages/alias/README.md
@@ -78,7 +78,7 @@ Instructs the plugin to use an alternative resolving algorithm, rather than the
### `entries`
-Type: `Object | Array[Object]`
+Type: `Object | Array[...Object]`
Default: `null`
Specifies an `Object`, or an `Array` of `Object`, which defines aliases used to replace values in `import` or `require` statements. With either format, the order of the entries is important, in that the first defined rules are applied first. This option also supports [Regular Expression Alias](#regular-expression-aliases) matching.
@@ -96,9 +96,9 @@ alias({
});
```
-#### `Array[Object]` Format
+#### `Array[...Object]` Format
-The `Array[Object]` format allows specifying aliases as objects, which can be useful for complex key/value pairs.
+The `Array[...Object]` format allows specifying aliases as objects, which can be useful for complex key/value pairs.
```js
entries: [
diff --git a/packages/buble/README.md b/packages/buble/README.md
index 6a22e98f2..cc594dd04 100644
--- a/packages/buble/README.md
+++ b/packages/buble/README.md
@@ -60,7 +60,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
diff --git a/packages/commonjs/README.md b/packages/commonjs/README.md
index 58908ba77..935234709 100644
--- a/packages/commonjs/README.md
+++ b/packages/commonjs/README.md
@@ -53,14 +53,14 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default CommonJS modules are targeted.
### `extensions`
-Type: `Array(String)`
+Type: `Array[...String]`
Default: `['.js']`
Search for extensions other than .js in the order specified.
@@ -122,7 +122,7 @@ commonjs({
### `ignore`
-Type: `Array(String | (String) => Boolean)`
+Type: `Array[...String | (String) => Boolean]`
Default: `[]`
Sometimes you have to leave require statements unconverted. Pass an array containing the IDs or an `id => boolean` function. Only use this option if you know what you're doing!
diff --git a/packages/image/README.md b/packages/image/README.md
index 5bfe4f28e..4e6debe27 100755
--- a/packages/image/README.md
+++ b/packages/image/README.md
@@ -79,7 +79,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
diff --git a/packages/inject/README.md b/packages/inject/README.md
index 59c1da1b1..e97129e24 100644
--- a/packages/inject/README.md
+++ b/packages/inject/README.md
@@ -84,7 +84,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
diff --git a/packages/json/README.md b/packages/json/README.md
index f1aa7dbca..d5a4e9d9a 100644
--- a/packages/json/README.md
+++ b/packages/json/README.md
@@ -68,7 +68,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
diff --git a/packages/node-resolve/README.md b/packages/node-resolve/README.md
index 9f1ee069d..144593b1f 100755
--- a/packages/node-resolve/README.md
+++ b/packages/node-resolve/README.md
@@ -46,7 +46,7 @@ Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#comma
### `mainFields`
-Type: `Array[String]`
+Type: `Array[...String]`
Default: `['module', 'main']`
The fields to scan in a package.json to determine the entry point if this list contains "browser", overrides specified in "pkg.browser" will be used
@@ -84,7 +84,7 @@ Some package.json files have a "browser" field which specifies alternative files
### `extensions`
-Type: `Array[String]`
+Type: `Array[...String]`
Default: `['.mjs', '.js', '.json', '.node']`
Resolve extensions other than .js in the order specified.
@@ -105,7 +105,7 @@ Lock the module search in this path (like a chroot). Modules defined outside thi
### `only`
-Type: `Array[String|RegExp]`
+Type: `Array[...String|RegExp]`
Default: `null`
Example: `only: ['some_module', /^@some_scope\/.*$/]`
@@ -119,7 +119,7 @@ If true, inspect resolved files to check that they are ES2015 modules.
### `dedupe`
-Type: `Array[String]`
+Type: `Array[...String]`
Default: `[]`
Force resolving for these modules to root's node_modules that helps to prevent bundling the same package multiple times if package is imported from dependencies.
diff --git a/packages/pluginutils/README.md b/packages/pluginutils/README.md
index f02345e6f..b420dbbc5 100755
--- a/packages/pluginutils/README.md
+++ b/packages/pluginutils/README.md
@@ -104,7 +104,7 @@ Returns: `String`
#### `include` and `exclude`
-Type: `String | Array[String|RegExp]`
+Type: `String | Array[...String|RegExp]`
A valid [`minimatch`](https://www.npmjs.com/package/minimatch) pattern, or array of patterns. If `options.include` is omitted or has zero length, filter will return `true` by default. Otherwise, an ID must match one or more of the `minimatch` patterns, and must not match any of the `options.exclude` patterns.
@@ -181,7 +181,7 @@ Outputs the string ES module source:
Extracts the names of all assignment targets based upon specified patterns.
Parameters: `(param: Node)`
-Returns: `Array[String]`
+Returns: `Array[...String]`
#### `param`
diff --git a/packages/replace/README.md b/packages/replace/README.md
index 79f536c11..334a0de36 100644
--- a/packages/replace/README.md
+++ b/packages/replace/README.md
@@ -52,7 +52,7 @@ In addition to the properties and values specified for replacement, users may al
### `delimiters`
-Type: `Array[String, String]`
+Type: `Array[...String, String]`
Default: `['\b', '\b']`
Specifies the boundaries around which strings will be replaced. By default, delimiters are [word boundaries](https://www.regular-expressions.info/wordboundaries.html). See [Word Boundaries](#word-boundaries) below for more information.
@@ -66,7 +66,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
diff --git a/packages/strip/README.md b/packages/strip/README.md
index 81ab2e4b2..d44cd747f 100755
--- a/packages/strip/README.md
+++ b/packages/strip/README.md
@@ -57,14 +57,14 @@ If `true`, instructs the plugin to remove debugger statements.
### `functions`
-Type: `Array[String]`
+Type: `Array[...String]`
Default: `[ 'console.*', 'assert.*' ]`
Specifies the functions that the plugin will target and remove.
### `labels`
-Type: `Array[String]`
+Type: `Array[...String]`
Default: `[]`
Specifies the [labeled blocks](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label) that the plugin will target and remove.
diff --git a/packages/sucrase/README.md b/packages/sucrase/README.md
index 5fab38893..2e4432618 100644
--- a/packages/sucrase/README.md
+++ b/packages/sucrase/README.md
@@ -71,7 +71,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.
diff --git a/packages/typescript/README.md b/packages/typescript/README.md
index 3fce473bf..0a17dcac5 100644
--- a/packages/typescript/README.md
+++ b/packages/typescript/README.md
@@ -74,7 +74,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all `.ts` and `.tsx` files are targeted.
diff --git a/packages/url/README.md b/packages/url/README.md
index 9445f5488..f0d0fc3f6 100644
--- a/packages/url/README.md
+++ b/packages/url/README.md
@@ -61,7 +61,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `['**/*.svg', '**/*.png', '**/*.jpg', '**/*.gif']`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default .svg, .png, .jpg, and .gif files are targeted.
diff --git a/packages/wasm/README.md b/packages/wasm/README.md
index 0779180a3..c0cce4e5e 100755
--- a/packages/wasm/README.md
+++ b/packages/wasm/README.md
@@ -48,7 +48,7 @@ Then call `rollup` either via the [CLI](https://www.rollupjs.org/guide/en/#comma
### `sync`
-Type: `Array[String]`
+Type: `Array[...String]`
Default: `null`
Specifies an array of strings that each represent a WebAssembly file to load synchronously. See [Synchronous Modules](#synchronous-modules) for a functional example.
diff --git a/packages/yaml/README.md b/packages/yaml/README.md
index afa72de12..1e417db1a 100644
--- a/packages/yaml/README.md
+++ b/packages/yaml/README.md
@@ -62,7 +62,7 @@ A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns
### `include`
-Type: `String` | `Array(String)`
+Type: `String` | `Array[...String]`
Default: `null`
A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on. By default all files are targeted.