If the property of a cortex object uses a TypeScript keyword, the TypeScript code generated for the stub is invalid because it uses the parameter name as the variable argument to the withParameter function. For example, for the Label (GitHub issue labels) has a parameter named "default", which leads to this code:
If the property of a cortex object uses a TypeScript keyword, the TypeScript code generated for the stub is invalid because it uses the parameter name as the variable argument to the
withParameter
function. For example, for theLabel
(GitHub issue labels) has a parameter named "default", which leads to this code:which leads to this TypeScript compiler error: