Skip to content

Commit

Permalink
More progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonbg committed May 27, 2017
1 parent 2cf977a commit a6d7a2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/datagrid/src/jsondatamodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import {
} from '@phosphor/coreutils';

import {
DataModel, IField
} from '@phosphor/datagrid';
DataModel
} from './datamodel';


export
class JSONDataModel extends DataModel {

constructor(data: JSONObject, schema: JSONArray) {
constructor(data: JSONArray, schema: JSONObject) {
super();
this._data = data;
this._fields = Private.parseFields(schema.fields);
Expand Down Expand Up @@ -74,7 +74,7 @@ namespace JSONDataModel {
type MissingValues = string[];

export
interface IJSONField extends IField {
interface IJSONField extends DataModel.IField {

format?: string;
title?: string;
Expand Down

0 comments on commit a6d7a2d

Please sign in to comment.