(type: o.Expression, numParams: number)
| 15 | const UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/; |
| 16 | |
| 17 | export function typeWithParameters(type: o.Expression, numParams: number): o.ExpressionType { |
| 18 | if (numParams === 0) { |
| 19 | return o.expressionType(type); |
| 20 | } |
| 21 | const params: o.Type[] = []; |
| 22 | for (let i = 0; i < numParams; i++) { |
| 23 | params.push(o.DYNAMIC_TYPE); |
| 24 | } |
| 25 | return o.expressionType(type, undefined, params); |
| 26 | } |
| 27 | |
| 28 | export interface R3Reference { |
| 29 | value: o.Expression; |
no test coverage detected
searching dependent graphs…