autorest.typescript
autorest.typescript copied to clipboard
[App Config] Modular Library Generation Error
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".