@ctx-core/env 16.4.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/src/import_meta_env/index.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ctx-core/env
|
|
2
2
|
|
|
3
|
+
## 17.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- import*meta_env*,import_meta_env\_\_ensure: + generic: <R extends ImportMetaEnv>
|
|
8
|
+
|
|
9
|
+
## 17.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- ImportMetaEnv: [key:string]:string
|
|
14
|
+
|
|
3
15
|
## 16.4.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export function import_meta_env_():
|
|
2
|
-
export function import_meta_env__ensure():
|
|
1
|
+
export function import_meta_env_<R extends ImportMetaEnv>():R
|
|
2
|
+
export function import_meta_env__ensure<R extends ImportMetaEnv>():R
|
|
3
3
|
declare global {
|
|
4
4
|
interface ImportMeta {
|
|
5
5
|
readonly env:ImportMetaEnv
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
interface ImportMetaEnv {
|
|
9
|
-
[key:string]:
|
|
9
|
+
[key:string]:string
|
|
10
10
|
}
|