You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testTypeScript:
http: GET /test
args:
function:
type: string
param-id: Function
param-type: header
returns: string
The API works, but when trying to generate TypeScript for this API, it fails to compile it with the following two lines using function as parameter name at fault:
testTypeScript(function: string): Promise<string>;
...
public testTypeScript(function: string): Promise<string> {
What happened?
I defined the following endpoint in Conjure:
The API works, but when trying to generate TypeScript for this API, it fails to compile it with the following two lines using
function
as parameter name at fault:I depend on 4.0.0:
What did you want to happen?
Parameter name should be escaped or prefixed, since it's a reserved keyword in TypeScript.
The text was updated successfully, but these errors were encountered: