Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jul 4, 2018
1 parent 1f5c416 commit 70108ff
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions src/typedef.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
* https://homer0.github.io/projext/typedef/index.html#static-typedef-Target
*/

/**
* @external {TargetExtraFile}
* https://homer0.github.io/projext/typedef/index.html#static-typedef-TargetExtraFile
*/

/**
* @external {TargetConfigurationCreator}
* https://homer0.github.io/projext/typedef/index.html#static-typedef-TargetConfigurationCreator
Expand All @@ -109,20 +114,6 @@
* @ignore
*/

/**
* @typedef {function} TargetFileToCopyTransform
* @param {string} contents The original contents of the file.
* @return {Promise<string,Error>} The updated contents.
*/

/**
* @typedef {Object} TargetFileToCopy
* @property {string} from The file origin path.
* @property {string} to The file destination path.
* @property {?TargetFileToCopyTransform} transform A custom function to modify the contents of
* the file to copy.
*/

/**
* @typedef {function} DevMiddlewareGetDirectory
* @return {string}
Expand Down Expand Up @@ -202,7 +193,7 @@
* @property {string} buildType
* The intended built type: `development` or `production`.
* @property {Array} copy
* A list of {@link TargetFileToCopy} with the information of files that need to be copied during
* A list of {@link TargetExtraFile} with the information of files that need to be copied during
* the bundling process.
*/

Expand Down

0 comments on commit 70108ff

Please sign in to comment.