import { IdWithOptionalType } from "../function" ; import { TypeValue } from "./value" ; export interface RecordType extends TypeValue { fields : IdWithOptionalType [ ] ; } export function isRecordType ( node ) { return node . name === "Record" ; }