// Gives type Record<string, unknown>hasProperties(obj, ["a", "b"]);// Gives type Record<"a" | "b", unknown>hasProperties(obj, ["a", "b"] as const); Copy
// Gives type Record<string, unknown>hasProperties(obj, ["a", "b"]);// Gives type Record<"a" | "b", unknown>hasProperties(obj, ["a", "b"] as const);