@comet-cli/types

Common type and interface definitions for comet

Usage no npm install needed!

<script type="module">
  import cometCliTypes from 'https://cdn.skypack.dev/@comet-cli/types';
</script>

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