Skip to content

Commit

Permalink
Avoid deep import which doesn't work cross-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Aug 11, 2021
1 parent a1267b1 commit 492378c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/kbn-io-ts-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/

export { decodeOrThrow } from './decode_or_throw';
export { deepExactRt } from './deep_exact_rt';
export { jsonRt } from './json_rt';
export { mergeRt } from './merge_rt';
export { strictKeysRt } from './strict_keys_rt';
Expand Down
3 changes: 1 addition & 2 deletions packages/kbn-typed-react-router-config/src/create_router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import {
} from 'react-router-config';
import qs from 'query-string';
import { findLastIndex, merge, compact } from 'lodash';
import { deepExactRt } from '@kbn/io-ts-utils/target/deep_exact_rt';
import { mergeRt } from '@kbn/io-ts-utils/target/merge_rt';
import { deepExactRt, mergeRt } from '@kbn/io-ts-utils';
import { Route, Router } from './types';

export function createRouter<TRoutes extends Route[]>(routes: TRoutes): Router<TRoutes> {
Expand Down

0 comments on commit 492378c

Please sign in to comment.