Reactjs

const response = await repository.allowedChildTypes
.update('/Root/Content/IT', ['ImageLibrary','DocumentLibrary','TaskList'])