Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@clerk/types
Advanced tools
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.
npm install @clerk/types --save-dev
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.
You can get in touch with us in any of the following ways:
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.
@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.
This project is licensed under the MIT license.
See LICENSE for more information.
FAQs
Typings for Clerk libraries.
The npm package @clerk/types receives a total of 265,920 weekly downloads. As such, @clerk/types popularity was classified as popular.
We found that @clerk/types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.