Creates a Record type.
Example usage is shown below.
const T = Type.Record(Type.String(), Type.Number()) // const T = {
// type: 'object',
// patternProperties: {
// "^.*$": {
// type: 'number'
// }
// }
type T = Static<typeof T> // type T = {
// [x: string]: number
// }
Use the IsRecord function to guard values of this type.
Type.IsRecord(value) // value is TRecord<string, TSchema>