Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Convert propTypes to Flow Props #2842

Merged
merged 2 commits into from
May 8, 2017

Conversation

AgtLucas
Copy link
Contributor

@AgtLucas AgtLucas commented May 7, 2017

Associated Issue: #2804

Summary of Changes

  • Convert App and WelcomeBox to Flow Props

Test Plan

Tell us a little a bit about how you tested your patch.

Example test plan:

  • yarn test
  • yarn run flow

@codecov
Copy link

codecov bot commented May 7, 2017

Codecov Report

Merging #2842 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2842   +/-   ##
=======================================
  Coverage   58.63%   58.63%           
=======================================
  Files          63       63           
  Lines        2367     2367           
  Branches      487      487           
=======================================
  Hits         1388     1388           
  Misses        979      979

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6fbbd1...09c2955. Read the comment docs.

Copy link
Contributor

@jasonLaster jasonLaster left a comment

Choose a reason for hiding this comment

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

Looks great.

One nit, but otherwise on point :)

@@ -37,12 +37,21 @@ const WelcomeBox = createFactory(_WelcomeBox);
import _EditorTabs from "./Editor/Tabs";
const EditorTabs = createFactory(_EditorTabs);

type Props = {
selectSource: Function,
selectedSource: Object,
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets use the Source or SourceRecord type here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jasonLaster Ok! :)

@jasonLaster jasonLaster merged commit 699afe5 into firefox-devtools:master May 8, 2017
@jasonLaster
Copy link
Contributor

Thanks @AgtLucas!

@AgtLucas
Copy link
Contributor Author

AgtLucas commented May 8, 2017

@jasonLaster No problem! :)

@AgtLucas AgtLucas deleted the flow-app-welcome branch July 10, 2018 20:27
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.

2 participants