Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhamley committed Sep 18, 2019
1 parent 57b5989 commit 0b5daae
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions src/style-spec/expression/definitions/image.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// @flow

import { ImageType, StringType } from '../types';
import {ImageType, StringType} from '../types';

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

export default class ImageExpression implements Expression {
type: Type;
Expand Down
2 changes: 1 addition & 1 deletion src/style-spec/expression/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function findZoomCurve(expression: Expression): Step | Interpolate | ParsingErro
return result;
}

import { ColorType, StringType, NumberType, BooleanType, ValueType, FormattedType, ImageType, array } from './types';
import {ColorType, StringType, NumberType, BooleanType, ValueType, FormattedType, ImageType, array} from './types';

function getExpectedType(spec: StylePropertySpecification): Type {
const types = {
Expand Down
22 changes: 11 additions & 11 deletions src/style-spec/expression/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ export type ArrayType = {
N: ?number
}

export const NullType = { kind: 'null' };
export const NumberType = { kind: 'number' };
export const StringType = { kind: 'string' };
export const BooleanType = { kind: 'boolean' };
export const ColorType = { kind: 'color' };
export const ObjectType = { kind: 'object' };
export const ValueType = { kind: 'value' };
export const ErrorType = { kind: 'error' };
export const CollatorType = { kind: 'collator' };
export const FormattedType = { kind: 'formatted' };
export const ImageType = { kind: 'image' };
export const NullType = {kind: 'null'};
export const NumberType = {kind: 'number'};
export const StringType = {kind: 'string'};
export const BooleanType = {kind: 'boolean'};
export const ColorType = {kind: 'color'};
export const ObjectType = {kind: 'object'};
export const ValueType = {kind: 'value'};
export const ErrorType = {kind: 'error'};
export const CollatorType = {kind: 'collator'};
export const FormattedType = {kind: 'formatted'};
export const ImageType = {kind: 'image'};

export function array(itemType: Type, N: ?number): ArrayType {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/style-spec/expression/values.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Color from '../util/color';
import Collator from './types/collator';
import Formatted from './types/formatted';
import Image from './types/image';
import { NullType, NumberType, StringType, BooleanType, ColorType, ObjectType, ValueType, CollatorType, FormattedType, ImageType, array } from './types';
import {NullType, NumberType, StringType, BooleanType, ColorType, ObjectType, ValueType, CollatorType, FormattedType, ImageType, array} from './types';

import type {Type} from './types';

Expand Down
4 changes: 2 additions & 2 deletions src/style-spec/function/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import * as interpolate from '../util/interpolate';
import Interpolate from '../expression/definitions/interpolate';
import Formatted from '../expression/types/formatted';
import Image from '../expression/types/image';
import { supportsInterpolation } from '../util/properties';
import { findStopLessThanOrEqualTo } from '../expression/stops';
import {supportsInterpolation} from '../util/properties';
import {findStopLessThanOrEqualTo} from '../expression/stops';

export function isFunction(value) {
return typeof value === 'object' && value !== null && !Array.isArray(value);
Expand Down

0 comments on commit 0b5daae

Please sign in to comment.