Socket
Book a DemoInstallSign in
Socket

@thetimes/times-public-api-types

Package Overview
Dependencies
Maintainers
3
Versions
695
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thetimes/times-public-api-types

This module contains the TypeScript definitions for the Times Public API's GraphQL types. The names of the types match the names in the GraphQL API.

npmnpm
Version
1.0.10819
Version published
Weekly downloads
268
-5.96%
Maintainers
3
Weekly downloads
 
Created
Source

@thetimes/times-public-api-types

This module contains the TypeScript definitions for the Times Public API's GraphQL types. The names of the types match the names in the GraphQL API.

Usage

import { Article } from "@thetimes/times-public-api-types";

interface TPAClient {
  getArticle(articleId: string): Promise<Article>;
}

Known issues

You may need to import at least 1 type manually from this package to your project before the auto-import suggestions start working.

FAQs

Package last updated on 02 Sep 2025

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