@lls/typings 24.1.31-40f0b83f → 24.1.31-4b03b0d2
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/internal/school.d.ts +2 -0
- package/overrides/global.d.ts +14 -0
- package/overrides/window.d.ts +2 -0
- package/package.json +2 -1
- package/overrides/cheerio.d.ts +0 -6
package/internal/school.d.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type CheerioModule from 'cheerio'
|
|
2
|
+
|
|
3
|
+
declare global {
|
|
4
|
+
// https://stackoverflow.com/questions/35074713/extending-typescript-global-object-in-node-js
|
|
5
|
+
var cheerio: typeof CheerioModule
|
|
6
|
+
var __SERVER__: boolean
|
|
7
|
+
|
|
8
|
+
namespace NodeJS {
|
|
9
|
+
interface ProcessEnv {
|
|
10
|
+
NODE_ENV: 'local' | 'development' | 'production'
|
|
11
|
+
CONF_ENV: 'local' | 'development' | 'test' | 'preprod' | 'production' | 'prod'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
package/overrides/window.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ type TPianoOpts = {
|
|
|
4
4
|
} & Record<string, unknown>
|
|
5
5
|
|
|
6
6
|
interface Window {
|
|
7
|
+
__PRELOADED_STATE__: string | undefined
|
|
7
8
|
opera: any | undefined
|
|
8
9
|
MSStream: any | undefined
|
|
9
10
|
coreOpenWindow?: typeof window.open
|
|
10
11
|
coreHref?: string
|
|
12
|
+
outerHTML: unknown
|
|
11
13
|
pa?: {
|
|
12
14
|
user?: {
|
|
13
15
|
setUser?: (user_id: TPianoOpts['user_id'], user_category: TPianoOpts['user_category']) => void
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lls/typings",
|
|
3
|
-
"version": "24.1.31-
|
|
3
|
+
"version": "24.1.31-4b03b0d2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"@types/domhandler": "2.4.5",
|
|
11
11
|
"@types/lodash": "4.14.202",
|
|
12
12
|
"@types/react": "18.2.45",
|
|
13
|
+
"cheerio": "1.0.0-rc.12",
|
|
13
14
|
"typescript": "5.4.5"
|
|
14
15
|
},
|
|
15
16
|
"peerDependencies": {
|