Skip to content

Commit

Permalink
Add types
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Nov 11, 2024
1 parent caac428 commit ff1f48c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pretty-files-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"browserslist-config-seek": minor
---

Add type definition for default export
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare const browserslistConfigSeek: readonly string[];
export default browserslistConfigSeek;
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:.*/'",
Expand All @@ -15,7 +16,8 @@
"version": "changeset version"
},
"files": [
"index.js"
"index.js",
"index.d.ts"
],
"repository": {
"type": "git",
Expand Down

0 comments on commit ff1f48c

Please sign in to comment.