type-codegen (npm): Insert a snippet, generate a type definition, copy paste it to your source code
Keywords: codegen