{"version":3,"sources":["../../../src/lib/cast.ts"],"names":[],"mappings":";;;;;;AASO,SAAS,KAAQ,KAAmB,EAAA;AAC1C,EAAO,OAAA,KAAA;AACR;AAFgB,MAAA,CAAA,IAAA,EAAA,MAAA,CAAA","file":"cast.cjs","sourcesContent":["/**\n * Casts any value to `T`\n *\n * Note that this function is not type-safe, and may cause runtime errors if used incorrectly.\n * Also note that this function is effectively useless in a JavaScript project, it only serves a purpose for TypeScript projects.\n *\n * @param value The value to cast to another type\n * @returns The value but as type `T`\n */\nexport function cast<T>(value: unknown): T {\n\treturn value as T;\n}\n"]}