autorest.typescript icon indicating copy to clipboard operation
autorest.typescript copied to clipboard

[App Config] Modular Library Generation Error

Open minhanh-phan opened this issue 8 months ago • 1 comments

I am testing the TypeSpec generation for App Configuration service with modular generation. The rest layer generation finishes and the modular generation gives the following error: Error: Unexpected! Inserting syntax kind of FunctionDeclaration, but ExpressionStatement was inserted.

To reproduce: The tspconfig file I use is here and the commit that I use is e873e9aa3ab8682e53c4a344f62797ec6f63f568. The initial generation is in this branch. The "@azure-tools/typespec-ts" version I use is "0.29.0".

minhanh-phan avatar Jun 14 '24 19:06 minhanh-phan