Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@comet-cli/types

chiiya13MIT0.2.0TypeScript support: included

Common type and interface definitions for comet

comet, types, interfaces, typescript

readme

@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
  }
}