-
Notifications
You must be signed in to change notification settings - Fork 6.8k
docs: clean up example config and data generation #9223
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
Conversation
crisbeto
commented
Jan 3, 2018
- Removes all of the optional properties being passed in as null in the example config. Also adds stronger typing to the list.
- Cleans up the example data generation to be closer to the rest of the project.
selectorName?: string; | ||
} | ||
|
||
export const EXAMPLE_COMPONENTS: {[key: string]: LiveExample} = { |
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 file is generated- did you update the script that writes it?
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.
AFAIK that’s the example-data.ts. It already has all the null checks.
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.
gulp build-examples-module
writes this 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.
Oh I see, I must've missed the warning because of all the imports. I've updated the generation script now.
* Removes all of the optional properties being passed in as null in the example config. Also adds stronger typing to the list. * Cleans up the example data generation to be closer to the rest of the project.
a837627
to
27681a5
Compare
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.
LGTM
* Removes all of the optional properties being passed in as null in the example config. Also adds stronger typing to the list. * Cleans up the example data generation to be closer to the rest of the project.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |