UNPKG

@prismicio/types-internal

Version:
11 lines (8 loc) 230 B
import * as t from "io-ts" import { SharedSliceType } from "./SharedSlice" export const SharedSliceRef = t.exact( t.type({ type: t.literal(SharedSliceType), }), ) export type SharedSliceRef = t.TypeOf<typeof SharedSliceRef>