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

0.2.0 • Public • Published

@comet-cli/types

This package contains all common type definitions and interfaces used across other comet packages.

If you wish to develop your own comet packages, make sure to require this package and implement the necessary interfaces.

Usage

import { Parser, OpenApiSpec } from '@comet-cli/types';

export default class MyFancyParser implements Parser {
  async execute(path: string): Promise<OpenApiSpec> {
      // return something
  }
}

/@comet-cli/types/

    Package Sidebar

    Install

    npm i @comet-cli/types

    Weekly Downloads

    5

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    11.7 kB

    Total Files

    13

    Last publish

    Collaborators

    • elishawitte