Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up(TypeDef) Add user property to the Params. #2090
Conversation
|
The user object could have a key with any value like Number or Boolean, shouldn't the type of key values be "any" ? |
Summary
I am using TypeScript. When I tried to access
context.params.userproperty from the service hook the IntelliSense did not work. The reason is that the type ofcontext.paramsisParams. But,Paramsdoes not contain theuserfield in it.Solution
Add
userproperty in theParamsinterface.Checklist