Skip to content

Commit 7743967

Browse files
zanminkianclaude
andcommitted
feat: add TypeScript type definitions to which-pm-runs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3732559 commit 7743967

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

which-pm-runs/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export interface PMRuns {
2+
name: string
3+
version: string
4+
}
5+
6+
export function whichPMRuns (): PMRuns | undefined

which-pm-runs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
"type": "module",
66
"main": "index.js",
77
"exports": "./index.js",
8+
"typings": "index.d.ts",
89
"files": [
9-
"index.js"
10+
"index.js",
11+
"index.d.ts"
1012
],
1113
"engines": {
1214
"node": ">=22.13"

0 commit comments

Comments
 (0)