type GeneralObject = Record; export type ExtendableString = T extends string ? T | (string & {}) : never; export type ExtendableObject = T extends GeneralObject ? T & GeneralObject : never; export {};