From d8054c1c42ff6e7ea06f68eaef50c221b6217aba Mon Sep 17 00:00:00 2001 From: Ian VanSchooten <ian.vanschooten@gmail.com> Date: Thu, 26 May 2022 12:57:44 -0400 Subject: [PATCH] Use outDir to avoid ambient type definition creation --- packages/docsearch-js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docsearch-js/package.json b/packages/docsearch-js/package.json index 3848d381e..65330a974 100644 --- a/packages/docsearch-js/package.json +++ b/packages/docsearch-js/package.json @@ -23,7 +23,7 @@ "scripts": { "build:clean": "rm -rf ./dist", "build:esm": "cross-env BUILD=esm rollup --config", - "build:types": "tsc -p ./tsconfig.declaration.json --outFile ./dist/esm/index.d.ts", + "build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/esm", "build:umd": "cross-env BUILD=umd rollup --config", "build": "yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types", "on:change": "concurrently \"yarn build:esm\" \"yarn build:types\"",