Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to Prep for Handling PointSet Messages #151

Merged
merged 25 commits into from
May 16, 2022

Conversation

slevertbiot
Copy link

No description provided.


export default class UdmiMessageHandler {
constructor(private deviceDao: DeviceDao) {}

handleUdmiEvent(event) {
handleUdmiEvent(event: {}) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this type be any instead of {}?

@@ -10,7 +10,7 @@ let messageHandler: UdmiMessageHandler;
* @param {!Object} event Event payload.
* @param {!Object} context Metadata for the event.
*/
export const handleUdmiEvent: EventFunction = async (event, context) => {
export const handleUdmiEvent: EventFunction = async (event: {}, context: {}) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change types here to any?

@slevertbiot slevertbiot merged commit 90da08f into master May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants