I had to do instead:
type StyleSheetProperties = {
background: string,
};
type StyleSheetPropertyKeys = keyof StyleSheetProperties;
type FrameworkAttributes = {
[K in `s:${StyleSheetPropertyKeys}`]?: string | number;
};
declare global {
namespace JSX {
interface IntrinsicAttributes extends FrameworkAttributes {}
}
}