1.0.1 • Published 1 year ago

@realgolfgames/types v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

1.0.0

1 year ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.0.1

2 years ago