mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
update meta
type to force type safety
This commit is contained in:
parent
cd9096cf73
commit
ca0c01b63b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const meta = t.object;
|
||||
export const meta = t.UnknownRecord;
|
||||
export type Meta = t.TypeOf<typeof meta>;
|
||||
export const metaOrUndefined = t.union([meta, t.undefined]);
|
||||
export type MetaOrUndefined = t.TypeOf<typeof metaOrUndefined>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue