CIDARLAB / 3DuF

Operands must both be numbers or strings in addition expressions JS-0377
Anti-pattern
Minor
1 occurrence in this check
Operands to the + operator should be both numbers or both strings
334    static getComponentPorts(params: Map<string, any>, minttypestring: string): Array<ComponentPort> {
335        const threeduftypesting = ComponentAPI.getTypeForMINT(minttypestring);
336        if (threeduftypesting === null) {
337            throw new Error("Component Ports of: " + threeduftypesting + " not found in library");338        }
339        const definition = ComponentAPI.library[threeduftypesting].object;
340        const params_to_pass: { [index: string]: any } = {};