import * as f from "f"; type X = { "member": string; // you stay like this "member-member": number, "4": number, "with_underscore": number "0197": number, "3n": number, "3p": number, "p9": number "_$_ff$_morning_not_quotes": number, "_$_ff$_morning_yes_quotes_@": number }; interface Y { "member": string; // you stay like this "member-member": number, "4": number, "with_underscore": number "0197": number, "3n": number, "3p": number, "p9": number "_$_ff$_morning_not_quotes": number, "_$_ff$_morning_yes_quotes_@": number } const Y = { "123": false, "3n": false, 12334: false }