botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[node.js] Missing locale property on IRecognizeContext interface

Open JoseAntonioRodriguez opened this issue 10 years ago • 2 comments

It seems like the IRecognizeContext interface declared in botbuilder.d.ts is missing the locale property, so you cannot pass a locale to recognize methods of LuisRecognizer or IntentDialog classes.

JoseAntonioRodriguez avatar Oct 19 '16 13:10 JoseAntonioRodriguez

I think I added it but it didn't get copied to the released lib. I'll double check.

Stevenic avatar Oct 19 '16 23:10 Stevenic

It appears locale/preferredLocale() has been added to botbuilder.d.ts. Closing issue.

dandriscoll avatar Dec 21 '16 21:12 dandriscoll