Closed kaleidawave closed 4 years ago
Given a enum in the module trying to resolve the properties of that type throws a error: Error: Could not find type: X in module
Error: Could not find type: X in module
const mod = Module.fromString(`enum X { A, B }`); console.log(typeSignatureToIType(new TypeSignature("X"), mod));
typeSignatureToIType should return enums to be of type number (or string). Think that is good enough
typeSignatureToIType
Given a enum in the module trying to resolve the properties of that type throws a error:
Error: Could not find type: X in module
typeSignatureToIType
should return enums to be of type number (or string). Think that is good enough