diff --git a/.changeset/pretty-files-compete.md b/.changeset/pretty-files-compete.md new file mode 100644 index 0000000..8b4c88f --- /dev/null +++ b/.changeset/pretty-files-compete.md @@ -0,0 +1,5 @@ +--- +"browserslist-config-seek": minor +--- + +Add type definition for default export diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..de6d0ad --- /dev/null +++ b/index.d.ts @@ -0,0 +1,2 @@ +declare const browserslistConfigSeek: readonly string[]; +export default browserslistConfigSeek; diff --git a/package.json b/package.json index 00a4be5..c64eceb 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "3.1.0", "description": "Shareable Browserslist config for SEEK", "main": "index.js", + "types": "index.d.ts", "scripts": { "test": "node test.js", "format": "pnpm run '/format:.*/'", @@ -15,7 +16,8 @@ "version": "changeset version" }, "files": [ - "index.js" + "index.js", + "index.d.ts" ], "repository": { "type": "git",