Skip to content

Commit

Permalink
Lint & Flow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Oct 15, 2019
1 parent 36fde02 commit 0f47341
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/style-spec/expression/definitions/in.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @flow

import { array, ValueType, BooleanType } from '../types';
import {array, ValueType, BooleanType} from '../types';

import type { Expression } from '../expression';
import type {Expression} from '../expression';
import type ParsingContext from '../parsing_context';
import type EvaluationContext from '../evaluation_context';
import type { Type } from '../types';
import type { Value } from '../values';
import type {Type} from '../types';
import type {Value} from '../values';

class In implements Expression {
type: Type;
Expand All @@ -19,7 +19,7 @@ class In implements Expression {
this.haystack = haystack;
}

static parse(args: Array<mixed>, context: ParsingContext) {
static parse(args: $ReadOnlyArray<mixed>, context: ParsingContext) {
if (args.length !== 3)
return context.error(`Expected 2 arguments, but found ${args.length - 1} instead.`);

Expand Down

0 comments on commit 0f47341

Please sign in to comment.