Skip to content

Commit

Permalink
Merge pull request #40 from social-native/erhathaway-patch-1
Browse files Browse the repository at this point in the history
Fix: relative import
  • Loading branch information
erhathaway authored Apr 28, 2020
2 parents 83b9366 + 0f0f06f commit 5f8603c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {HistoryLocation} from 'index';
import {HistoryLocation} from '../../../src/index';
import {setUp} from '../utils';

describe('Integration', () => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "elastic-composer",
"version": "4.3.0",
"version": "4.3.1",
"description": "",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
Expand Down
5 changes: 3 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ import {
ExistsFilter,
MultiSelectFilter,
GeoFilter,
DateRangeFilter
DateRangeFilter,
TermsFilter
} from './filters';
import {FuzzySuggestion, BaseSuggestion} from './suggestions';
import TermsFilter from 'filters/terms_filter';

/**
* ***********************************
* ES Request
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

/* Module Resolution Options */
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"baseUrl": "src" /* Base directory to resolve non-absolute module names. */,
// "baseUrl": "src" /* Base directory to resolve non-absolute module names. */,
// "paths": "", /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"rootDirs": [
"src"
Expand Down

0 comments on commit 5f8603c

Please sign in to comment.