@comet-cli/types
v0.2.0
Published
Common type and interface definitions for comet
Maintainers
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
}
}