Skip to content

Commit

Permalink
feat: Fix options.d.ts syntax and declare consts
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Mar 23, 2022
1 parent b0c1a3f commit b4969bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "nyc mocha src/*.test.js -r @swc-node/register",
"test:watch": "npm test -- --watch",
"lint": "standard --verbose | snazzy",
"build": "swc src -d lib --copy-files --only *.js",
"build": "swc src -d lib --copy-files",
"postinstall": "npm run install-binary",
"coverage": "nyc report --reporter=lcov",
"precodeclimate": "npm run coverage",
Expand Down
10 changes: 5 additions & 5 deletions src/options.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as Joi from "joi";

export const optionsSchema: Joi.SchemaLike
export const preSpawnSchema: Joi.SchemaLike
export const spawnSchema: Joi.SchemaLike
export function parseOptions(options: PartialOptions, filter: string, json: any): any
export const optionDefaults: IOptions;
export declare const optionsSchema: Joi.SchemaLike;
export declare const preSpawnSchema: Joi.SchemaLike
export declare const spawnSchema: Joi.SchemaLike
export declare function parseOptions(options: PartialOptions, filter: string, json: any): any
export declare const optionDefaults: IOptions;
interface IOptions {
color: boolean,
input: string,
Expand Down

0 comments on commit b4969bf

Please sign in to comment.