@ty-ras/protocol
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Typesafe REST API Specification - Protocol

This package contains type definitions that are to be used in protocol constructs in Typesafe REST API Specification (TyRAS) package family.

Notice that this module does not have runtime specification - it only is useable during TypeScript compilation. This is why import type syntax must be used when importing this module:

import type * as protocol from "@ty-ras/protocol";

This way, there will be no import/require statement emitted for the result .js file, thus avoiding runtime errors.

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i @ty-ras/protocol

    Weekly Downloads

    14

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    24.7 kB

    Total Files

    17

    Last publish

    Collaborators

    • staz