Skip to content

Conversation

@nikithauc
Copy link
Contributor

Bumping the version to 2.1.0 for changes in 2.1.0-Preview.1


export const serializeContent = (content: any): any => {
const className: string = content.constructor.name;
const className: string = content === undefined ? undefined : content.constructor.name;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const className: string = content === undefined ? undefined : content.constructor.name;
const className: string = content && content.constructor && content.constructor.name;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@nikithauc nikithauc closed this Sep 30, 2020
@nikithauc nikithauc deleted the nikithauc/Release-2.1.0 branch September 30, 2020 21:59
@baywet
Copy link
Member

baywet commented Oct 1, 2020

@nikithauc can I assume this one is replaced by #333 ?

@nikithauc
Copy link
Contributor Author

@baywet #333 is not a replacement. There will another PR for release2.1.0

@nikithauc nikithauc mentioned this pull request Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants