UNPKG

453 BTypeScriptView Raw
1import { Set } from "immutable";
2import { TSType } from "@babel/types";
3export declare const MaybeType: (type: TSType) => TSType;
4export declare const PartialType: (type: TSType) => TSType;
5export declare const IfType: (possibleTypes: Set<string>, type: TSType) => TSType;
6export declare const OptionalType: (type: TSType) => TSType;
7export declare const OperationType: (type: TSType) => TSType;
8export declare const ByIdType: (type: TSType) => TSType;