From 60334bf05aed14ab145b5abf74f225509abd9021 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Mon, 1 Jun 2020 12:17:32 +0200 Subject: [PATCH] Fix undefined `Source` type lint/type error The following PRs were fine in isolation, but when merged resulted in the introduction of an undefined `Source` type in the `env` package: https://github.com/WordPress/gutenberg/pull/22256 https://github.com/WordPress/gutenberg/pull/20522 Rename `Source` introduced in #22256 to `WPSource` according to changes in #20522. --- packages/env/lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/env/lib/config.js b/packages/env/lib/config.js index c7b0d4d5e42644..1ed403b41e5ed8 100644 --- a/packages/env/lib/config.js +++ b/packages/env/lib/config.js @@ -38,7 +38,7 @@ const HOME_PATH_PREFIX = `~${ path.sep }`; * @property {number} port The port on which to start the development WordPress environment. * @property {number} testsPort The port on which to start the testing WordPress environment. * @property {Object} config Mapping of wp-config.php constants to their desired values. - * @property {Object.} mappings Mapping of WordPress directories to local directories which should be mounted. + * @property {Object.} mappings Mapping of WordPress directories to local directories which should be mounted. * @property {boolean} debug True if debug mode is enabled. */