@lls/typings 24.37.0-e4928d15 → 24.37.0-e9eac8f6
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/overrides/global.d.ts +12 -2
- package/package.json +2 -2
package/overrides/global.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ declare global {
|
|
|
38
38
|
namespace NodeJS {
|
|
39
39
|
interface ProcessEnv {
|
|
40
40
|
NODE_ENV: 'local' | 'development' | 'production'
|
|
41
|
-
CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production'
|
|
41
|
+
CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production'
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
var bun: {
|
|
@@ -48,9 +48,19 @@ declare global {
|
|
|
48
48
|
mocked: <T>(t: T) => TODO
|
|
49
49
|
mockCustom: <T, U>(fn: (t: T) => U) => (t: T) => U
|
|
50
50
|
unmockAll: AnyFunction
|
|
51
|
-
mock: (src: string, keysOrfn
|
|
51
|
+
mock: (src: string, keysOrfn?: string[] | AnyFunction | { [x: string]: unknown }) => unknown
|
|
52
52
|
fn: any
|
|
53
53
|
}
|
|
54
54
|
var bunvi: typeof bun
|
|
55
55
|
var fetch: Window['fetch']
|
|
56
|
+
|
|
57
|
+
namespace NodeJS {
|
|
58
|
+
interface ProcessEnv {
|
|
59
|
+
NODE_ENV: 'local' | 'development' | 'production'
|
|
60
|
+
CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
interface Error {
|
|
64
|
+
originalError?: object
|
|
65
|
+
}
|
|
56
66
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lls/typings",
|
|
3
|
-
"version": "24.37.0-
|
|
3
|
+
"version": "24.37.0-e9eac8f6",
|
|
4
4
|
"description": "types custom du monorepo",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"imports": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"cheerio": "*"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
|
-
"dts": "pnpm
|
|
25
|
+
"dts": "pnpm tsgo --project tsconfig.production.json",
|
|
26
26
|
"lint": "pnpm biome check --apply *.d.ts internal overrides",
|
|
27
27
|
"test": "echo \"Error: no test specified\" && exit 0"
|
|
28
28
|
}
|