Skip to content

Commit

Permalink
feat(parse): add raw parser for consistency (spoiler: it is just the …
Browse files Browse the repository at this point in the history
…flat parser)
  • Loading branch information
davewasmer committed Jun 25, 2017
1 parent 62bd914 commit b03aefd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/parsers/raw.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../lib/parse/raw';
2 changes: 2 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import View from './render/view';

// Parse
import Parser from './parse/parser';
import RawParser from './parse/raw';
import FlatParser from './parse/flat';
import JSONAPIParser from './parse/json-api';

Expand Down Expand Up @@ -72,6 +73,7 @@ export {

// Parse
Parser,
RawParser,
FlatParser,
JSONAPIParser,

Expand Down
4 changes: 4 additions & 0 deletions lib/parse/raw.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import FlatParser from './flat';

export default class RawParser extends FlatParser {
};

0 comments on commit b03aefd

Please sign in to comment.