A type representing either a SpecType or a mapping between string keys and SpecType's.
const names: SpecTypeOrDict = ['John', 'Jane']; // i.e. `string[]`const ages: SpecTypeOrDict = { John: 42, Jane: 43 }; // i.e. `{ [key: string]: number }` Copy
const names: SpecTypeOrDict = ['John', 'Jane']; // i.e. `string[]`const ages: SpecTypeOrDict = { John: 42, Jane: 43 }; // i.e. `{ [key: string]: number }`
Generated using TypeDoc
A type representing either a SpecType or a mapping between string keys and SpecType's.