src/config.js
function createTypedef(context, typeName, value) {
  if (value instanceof Reference) {
    value = value.resolve(context);
  }
  context.results[typeName] = value;
  return value;
}
function createTypedef(context, typeName, value) {
  if (value instanceof Reference) {
    value = value.resolve(context);
  }
  context.results[typeName] = value;
  return value;
}
function createTypedef ( context , typeName , value ) { if ( value instanceof Reference ) { value = value . resolve ( context ) ; } context . results [ typeName ] = value ; return value ; }
let the reference resoltion system do it's thing the "constructor" for a typedef just returns the resolved value
let the reference resoltion system do it s thing the constructor for a typedef just returns the resolved value