Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

feat(index): Added plugin to strip flow types #41

Merged
merged 1 commit into from
Feb 4, 2018

Conversation

tamoore
Copy link
Contributor

@tamoore tamoore commented Jan 16, 2018

Purpose

In order to add flow type to the style guide we'd need to remove the types at compile time
We'll also need to convert the flowtype definitions to propTypes.
(conventionally via a babel transform plugin).

Approach

I have just added this here and currently it won't be stripping any types from the style guide as it doesn't have any. However, this is really a prerequisite for using flow types in that project so it'd be the first thing we'd need to add.

In order for the style guide to support flow types going forward we'll need to strip the types
during compliation.
@tamoore tamoore merged commit 3248fa1 into master Feb 4, 2018
@tamoore tamoore deleted the add-flow-stip-types branch February 4, 2018 22:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants