Skip to content

Commit

Permalink
Fix JSON types import
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Jan 26, 2021
1 parent 631cc4a commit 532daff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/plugins/infra/common/typed_json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import * as rt from 'io-ts';
import { JsonArray, JsonObject, JsonValue } from '../../../../src/plugins/kibana_utils/common';

export { JsonArray, JsonObject, JsonValue };

export const jsonScalarRT = rt.union([rt.null, rt.boolean, rt.number, rt.string]);

export const jsonValueRT: rt.Type<JsonValue> = rt.recursion('JsonValue', () =>
Expand Down

0 comments on commit 532daff

Please sign in to comment.