helper to define objects with fixed literal properties and a loose index signature for further extensions.
const obj = looseIndex<string,string>()({ foo: 'bar', bar: 'foo' });type obj = typeof obj Copy
const obj = looseIndex<string,string>()({ foo: 'bar', bar: 'foo' });type obj = typeof obj
loose object with string keys and string values
loose object with symbols values
loose object with symbol keys and RegExp values
loose object with symbol keys and string values
helper to define objects with fixed literal properties
and a loose index signature for further extensions.