( test: ConditionalExpression['test'], consequent: ConditionalExpression['consequent'], alternate: ConditionalExpression['alternate'], newline = true, )
| 756 | } |
| 757 | |
| 758 | export function createConditionalExpression( |
| 759 | test: ConditionalExpression['test'], |
| 760 | consequent: ConditionalExpression['consequent'], |
| 761 | alternate: ConditionalExpression['alternate'], |
| 762 | newline = true, |
| 763 | ): ConditionalExpression { |
| 764 | return { |
| 765 | type: NodeTypes.JS_CONDITIONAL_EXPRESSION, |
| 766 | test, |
| 767 | consequent, |
| 768 | alternate, |
| 769 | newline, |
| 770 | loc: locStub, |
| 771 | } |
| 772 | } |
| 773 | |
| 774 | export function createCacheExpression( |
| 775 | index: number, |
no outgoing calls
no test coverage detected