Skip to content

Commit

Permalink
Env: Fix undefined Source type lint/type error (#22785)
Browse files Browse the repository at this point in the history
The following PRs were fine in isolation, but when merged resulted in
the introduction of an undefined `Source` type in the `env` package:

#22256
#20522

Rename `Source` introduced in #22256 to `WPSource` according to changes
in #20522.
  • Loading branch information
sirreal authored Jun 1, 2020
1 parent fc943af commit 7e855e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/env/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.<string, Source>} mappings Mapping of WordPress directories to local directories which should be mounted.
* @property {Object.<string, WPSource>} mappings Mapping of WordPress directories to local directories which should be mounted.
* @property {boolean} debug True if debug mode is enabled.
*/

Expand Down

0 comments on commit 7e855e3

Please sign in to comment.