From 0a45e5a9422389f6a2bc594e6c2359e06263468c Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 8 May 2023 14:58:37 -0500 Subject: [PATCH] Add `dtsOnly` to Options type When passing the `--dts-only` option to the CLI, the `options` contains a `dtsOnly` property, but it's not reflected in the type. --- src/options.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/options.ts b/src/options.ts index fc3c2afa..ab871e4d 100644 --- a/src/options.ts +++ b/src/options.ts @@ -221,6 +221,10 @@ export type Options = { * Copy the files inside `publicDir` to output directory */ publicDir?: string | boolean + /** + * Emit declaration file only + */ + dtsOnly?: boolean; } export type NormalizedOptions = Omit<