Convert the elementType API helpers to TypeScript
Convert the API helper functions in src/api/elementType.js
to TypeScript, using the request and response payloads defined in the backend API docs as a reference.
Convert the API helper functions in src/api/elementType.js
to TypeScript, using the request and response payloads defined in the backend API docs as a reference.