More
TypeScript Support
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import type {
ScuteClient,
ScuteSession,
ScuteUserData,
ScuteTokenPayload,
AuthResponse,
SessionResponse,
} from "@scute/js-core";
// Use types for better development experience
const handleAuthResponse = (response: AuthResponse) => {
if (response.error) {
// Handle error
return;
}
// response.data is properly typed
console.log(response.data);
};
Was this page helpful?