
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@types/redux-first-router-link
Advanced tools
TypeScript definitions for redux-first-router-link
npm install --save @types/redux-first-router-link
This package contains type definitions for redux-first-router-link (https://github.com/faceyspacey/redux-first-router-link#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-first-router-link.
import * as React from "react";
import { Location } from "redux-first-router";
export type To = string | string[] | object;
export interface Match<P> {
params: P;
isExact: boolean;
path: string;
url: string;
}
// Unfortunately we can't pass `HTMLAnchorElement` since the `tagName` attribute allows you to use other tags than anchor.
export interface LinkProps extends React.HTMLAttributes<HTMLElement> {
to: To;
redirect?: boolean | undefined;
replace?: boolean | undefined;
tagName?: string | undefined;
down?: boolean | undefined;
shouldDispatch?: boolean | undefined;
target?: string | undefined;
children?: React.ReactNode;
}
export default class Link extends React.Component<LinkProps> {}
export interface NavLinkProps extends LinkProps {
activeClassName?: string | undefined;
activeStyle?: React.CSSProperties | undefined;
ariaCurrent?: string | undefined;
exact?: boolean | undefined;
strict?: boolean | undefined;
children?: React.ReactNode;
isActive?(match: Match<object>, location: Location): boolean;
}
export class NavLink extends React.Component<NavLinkProps> {}
These definitions were written by janb87.
FAQs
TypeScript definitions for redux-first-router-link
We found that @types/redux-first-router-link demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.