Skip to content

Commit ac695fd

Browse files
committedMar 18, 2025
patch conf
1 parent df12da5 commit ac695fd

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed
 

‎bun.lock

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
},
4242
},
4343
},
44+
"patchedDependencies": {
45+
"conf@13.1.0": "patches/conf@13.1.0.patch",
46+
},
4447
"packages": {
4548
"7zip-bin": ["7zip-bin@5.2.0", "", {}, "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A=="],
4649

‎package.json

+3
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,8 @@
8686
"perMachine": false,
8787
"allowToChangeInstallationDirectory": true
8888
}
89+
},
90+
"patchedDependencies": {
91+
"conf@13.1.0": "patches/conf@13.1.0.patch"
8992
}
9093
}

‎patches/conf@13.1.0.patch

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/dist/source/index.d.ts b/dist/source/index.d.ts
2+
index cc235a0d789462cb5a36e1426f5cc040c192ff11..818b87a2dd14c9a7e33a95693aee7a19e2d586bd 100644
3+
--- a/dist/source/index.d.ts
4+
+++ b/dist/source/index.d.ts
5+
@@ -12,7 +12,6 @@ export default class Conf<T extends Record<string, any> = Record<string, unknown
6+
*/
7+
get<Key extends keyof T>(key: Key): T[Key];
8+
get<Key extends keyof T>(key: Key, defaultValue: Required<T>[Key]): Required<T>[Key];
9+
- get<Key extends string, Value = unknown>(key: Exclude<Key, keyof T>, defaultValue?: Value): Value;
10+
/**
11+
Set an item or multiple items at once.
12+

0 commit comments

Comments
 (0)
Please sign in to comment.