The smallest possible Metano sample. It shows how top-level C# statements are transpiled into a TypeScript entry module.
Program.cs— a top-levelConsole.WriteLine("Hello, World!").AssemblyInfo.cs— enables whole-assembly transpilation with[TranspileAssembly].HelloWorld.csproj— wiresMetano.Buildto generate TypeScript into the target package on build.
The related TypeScript output is in targets/js/hello-world/src:
program.ts— the generated top-level module.
The target package lives in targets/js/hello-world.
dotnet build samples/HelloWorld/HelloWorld.csproj