UNPKG

@suspensive/react-query-4

Version:

Suspensive interfaces for @tanstack/react-query@4

11 lines (9 loc) 305 B
import { _typeof } from "./typeof.mjs"; import { toPrimitive } from "./toPrimitive.mjs"; //#region \0@oxc-project+runtime@0.130.0/helpers/toPropertyKey.js function toPropertyKey(t) { var i = toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } //#endregion export { toPropertyKey };