@infra-blocks/types 0.6.0 → 0.7.0-alpha.1
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/lib/cjs/index.d.ts +8 -0
- package/lib/esm/index.d.ts +8 -0
- package/package.json +1 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export * from "./func.js";
|
|
2
2
|
export * from "./guard.js";
|
|
3
3
|
export * from "./events.js";
|
|
4
|
+
/**
|
|
5
|
+
* Convenience type to represent environment variables.
|
|
6
|
+
*/
|
|
7
|
+
export type EnvironmentVariables = Record<string, string | undefined>;
|
|
8
|
+
/**
|
|
9
|
+
* Just aliasing {@link EnvironmentVariables} for brevity.
|
|
10
|
+
*/
|
|
11
|
+
export type EnvVars = EnvironmentVariables;
|
|
4
12
|
/**
|
|
5
13
|
* Convenient type alias to regroup a type that can be T, null or undefined.
|
|
6
14
|
*
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
export * from "./func.js";
|
|
2
2
|
export * from "./guard.js";
|
|
3
3
|
export * from "./events.js";
|
|
4
|
+
/**
|
|
5
|
+
* Convenience type to represent environment variables.
|
|
6
|
+
*/
|
|
7
|
+
export type EnvironmentVariables = Record<string, string | undefined>;
|
|
8
|
+
/**
|
|
9
|
+
* Just aliasing {@link EnvironmentVariables} for brevity.
|
|
10
|
+
*/
|
|
11
|
+
export type EnvVars = EnvironmentVariables;
|
|
4
12
|
/**
|
|
5
13
|
* Convenient type alias to regroup a type that can be T, null or undefined.
|
|
6
14
|
*
|