-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update/SOF-7291 add enum #72
Conversation
class IframeToFromHostMessageHandler { | ||
private handlers: HandlersMap = { "get-data": [], "set-data": [], info: [] }; | ||
private handlers: HandlersMap = { | ||
[ActionEnum.GetData]: [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use lowercase first letter and use enums from the IframeMessageSchema
@@ -1,6 +1,11 @@ | |||
import { Action as ActionEnum, Type as TypeEnum, } from "@mat3ra/esse/dist/js/types"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can not import *.ts in *.js file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this is dist that was generated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably this thing expects us to convert types.ts to types.js as well
6338919
to
f1a1b0f
Compare
…-enum' into update/SOF-7291-add-enum
No description provided.