@softfix/shared-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@softfix/shared-types

A collection of shared TypeScript types for use across multiple projects.

Installation

Install the package using npm or Yarn:

npm install @softfix/shared-types

or

yarn add @softfix/shared-types

Usage

Import and use the shared types in your TypeScript project:

import { AddressType, UserType } from "@softfix/shared-types";

const address: AddressType = {
    street: "123 Main St",
    city: "New York",
    country: "USA",
};

const user: UserType = {
    id: "123",
    name: "John Doe",
    email: "john@example.com",
};

Readme

Keywords

none

Package Sidebar

Install

npm i @softfix/shared-types

Weekly Downloads

4

Version

1.0.1

License

none

Unpacked Size

5.29 kB

Total Files

15

Last publish

Collaborators

  • v_expert
  • abhishekjsr
  • mohit_1199