function* extractRuntimeSlots(type, slotsNode) {
  for (const property of type.getProperties()) {
    const name = property.getName()

    yield {
      type: 'infer-type',
      slotName: name,
      node: slotsNode
    }
  }
}
@param {Type} type
@param {TypeNode} slotsNode Type with slots definition
@returns {IterableIterator<ComponentInferTypeSlot>}