import * as THREE from 'three' let catalogue: { [key: string]: any } = { ...THREE } export function useCatalog() { const extend = (objects: any) => { catalogue = Object.assign(catalogue, objects) } return { extend, catalogue, } }