From 131069549d049d1139f4de2c5aa9d852a7aaeb2d Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Sun, 17 Dec 2023 19:57:37 +0000 Subject: [PATCH] Fix package --- package.json | 2 +- types/index.d.ts | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 types/index.d.ts diff --git a/package.json b/package.json index 2a09e5c..0b5ae6f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "build": "pnpm build:vite && pnpm build:script && pnpm build:removeExport && pnpm build:removeInline", - "build:prod": "pnpm build:replaceGeckoId -- FF_ID && pnpm build", + "build:prod": "pnpm build:replaceGeckoId $1 && pnpm build", "build:vite": "vite build", "build:script": "tsc --p scripts/extension/tsconfig.json", "build:removeExport": "node scripts/project/removeExportFromScript.cjs", diff --git a/types/index.d.ts b/types/index.d.ts new file mode 100644 index 0000000..59f313a --- /dev/null +++ b/types/index.d.ts @@ -0,0 +1,10 @@ +type Message = { + action: string; +}; + +type Response = { + success: boolean; + message?: string; +}; + +export type { Message, Response };