You can create your own piece using a TypeScript framework that ensures strict typing. After developing these pieces, you can test them on your computer and then publish them as npm packages.The visual builder as well provides native support for TypeScript code and npm packages.