Skip to content

Commit

Permalink
Fix flow: fix F8GranttGrid.js (fbsamples#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsashyn authored and frantic committed Apr 5, 2018
1 parent 12aaa42 commit ebdec8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/tabs/schedule/F8GanttGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE
* @flow
*/
"use strict";

Expand Down Expand Up @@ -48,7 +49,7 @@ export default class F8GanttGrid extends React.Component {
);
}

renderColumns(momentStart, count) {
renderColumns(momentStart: moment, count: number) {
let cols = [];
let previousLabelAMPM = null;
for (let i = 0; i < count + 1; i++) {
Expand Down

0 comments on commit ebdec8c

Please sign in to comment.