Use FastPath type def (#8740)

This commit is contained in:
Sosuke Suzuki authored and GitHub committed 2020-07-13 21:05:46 +09:00
1 parent 031375bd80
commit 48157cc137
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ function conditionalExpressionChainContainsJSX(node) {
* @property {string} consequentNodePropertyName - The property at which the consequent node can be found on the main node, eg "consequent".
* @property {string} alternateNodePropertyName - The property at which the alternate node can be found on the main node, eg "alternate".
* @property {string[]} testNodePropertyNames - The properties at which the test nodes can be found on the main node, eg "test".
* @param {FastPath} path - The path to the ConditionalExpression/TSConditionalType node.
* @param {import("../../common/fast-path")} path - The path to the ConditionalExpression/TSConditionalType node.
* @param {Options} options - Prettier options
* @param {Function} print - Print function to call recursively
* @param {OperatorOptions} operatorOptions