1.0.1 • Published 6 months ago

@realgolfgames/types v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

@realgolfgames/types

TypeScript definitions for the RealGolf.Games API, making it easy for developers to integrate with our services.


Installation

Install the package using your preferred package manager:

npm

npm install @realgolfgames/types

pnpm

pnpm add @realgolfgames/types

yarn

yarn add @realgolfgames/types

Usage

Import the types you need from the package:

import { ReturnedBlog } from '@realgolfgames/types';

const { blogs }: { blogs: ReturnedBlog[] } = await fetch(
  'https://api.realgolf.games/blogs'
).then((res) => res.json());

Features

  • Centralized Types: Avoid duplicating TypeScript definitions across projects.
  • Versioned Updates: Stay up-to-date with changes to RealGolf.Games APIs.
  • Developer-Friendly: Strongly typed definitions ensure fewer errors and better code completion in IDEs.

Documentation

RealGolf.Games Docs - Types


License

This package is licensed under the MIT License.

1.0.1

6 months ago

1.0.0

10 months ago

0.3.5

11 months ago

0.3.4

11 months ago

0.3.3

11 months ago

0.3.2

12 months ago

0.3.1

12 months ago

0.3.0

12 months ago

0.2.0

12 months ago

0.0.1

12 months ago