Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clerk/types

Package Overview
Dependencies
Maintainers
8
Versions
1993
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerk/types

Typings for Clerk libraries.

  • 4.28.0-canary.veccfc03
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
195K
decreased by-49.72%
Maintainers
8
Weekly downloads
 
Created
Source


@clerk/types


Getting Started

This package provides the TypeScript type declarations for Clerk's SDKs.

[!NOTE] Clerk's SDKs automatically include their own type definitions so typically it's not necessary to install @clerk/types separately.

Installation

npm install @clerk/types --save-dev

Usage

Import types from @clerk/types like so:

import type { OAuthStrategy } from '@clerk/types';

export type OAuthProps = {
  oAuthOptions: OAuthStrategy[];
  error?: string;
  setError?: React.Dispatch<React.SetStateAction<string | undefined>>;
};

You can also override Clerk interfaces with custom types.

Support

You can get in touch with us in any of the following ways:

Contributing

We're open to all community contributions! If you'd like to contribute in any way, please read our contribution guidelines and code of conduct.

Security

@clerk/types follows good practices of security, but 100% security cannot be assured.

@clerk/types is provided "as is" without any warranty. Use at your own risk.

For more information and to report security issues, please refer to our security documentation.

License

This project is licensed under the MIT license.

See LICENSE for more information.

Keywords

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc