method ISession.get ISession.get<T = unknown>(key: string): T | undefined Reads a value. Type Parameters T = unknown The expected value type; validate before trusting it, since the payload survived a JSON round-trip Parameters key: string Session key Return Type T | undefined The value, or undefined when absent