Skip to content

Commit b4969bf

Browse files
committed
feat: Fix options.d.ts syntax and declare consts
1 parent b0c1a3f commit b4969bf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "nyc mocha src/*.test.js -r @swc-node/register",
1414
"test:watch": "npm test -- --watch",
1515
"lint": "standard --verbose | snazzy",
16-
"build": "swc src -d lib --copy-files --only *.js",
16+
"build": "swc src -d lib --copy-files",
1717
"postinstall": "npm run install-binary",
1818
"coverage": "nyc report --reporter=lcov",
1919
"precodeclimate": "npm run coverage",

src/options.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as Joi from "joi";
22

3-
export const optionsSchema: Joi.SchemaLike
4-
export const preSpawnSchema: Joi.SchemaLike
5-
export const spawnSchema: Joi.SchemaLike
6-
export function parseOptions(options: PartialOptions, filter: string, json: any): any
7-
export const optionDefaults: IOptions;
3+
export declare const optionsSchema: Joi.SchemaLike;
4+
export declare const preSpawnSchema: Joi.SchemaLike
5+
export declare const spawnSchema: Joi.SchemaLike
6+
export declare function parseOptions(options: PartialOptions, filter: string, json: any): any
7+
export declare const optionDefaults: IOptions;
88
interface IOptions {
99
color: boolean,
1010
input: string,

0 commit comments

Comments
 (0)