Skip to content

Conversation

diegolanda
Copy link
Contributor

Currently this:

export const test = (one: number) => {
    return one;
}

export const myObj = {
  foo: 'bar',
}

Is breaking parse, added a conditional for this case

Copy link
Collaborator

@pvasek pvasek left a comment

Choose a reason for hiding this comment

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

Please, could you fix the test name?

});

});
it('Should should avoid exported objects', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this test name should be different. It doesn't seem to explain what test does.

@pvasek pvasek merged commit 34834b9 into styleguidist:master Apr 27, 2017
@diegolanda diegolanda mentioned this pull request May 1, 2017
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.

2 participants