export const log = { unmatchedType: ( name: string, type: 'string' | 'object' | 'object?' | 'function' | 'function?', ) => { console.warn(`Unmatched type: ${name} is not ${type}.`) }, nonJSONValue: ( name: string, ) => { console.warn(`Non-json value: ${name} includes non-json value which is ignored by Airbridge.`) }, }