import * as t from 'io-ts' ; import { DefaultStringArray } from '@kbn/securitysolution-io-ts-types' ; export const tags = DefaultStringArray ; export type Tags = t . TypeOf < typeof tags > ; export const tagsOrUndefined = t . union ( [ tags , t . undefined ] ) ; export type TagsOrUndefined = t . TypeOf < typeof tagsOrUndefined > ;