@lls/typings 24.1.33-d87e6fce → 24.1.33
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/page.d.ts +4 -2
- package/overrides/lodash.d.ts +0 -4
- package/package.json +1 -1
package/internal/page.d.ts
CHANGED
|
@@ -13,11 +13,12 @@ export type Rect = {
|
|
|
13
13
|
|
|
14
14
|
export type ZoneType = {
|
|
15
15
|
id: string
|
|
16
|
+
src?: string
|
|
16
17
|
} & Rect
|
|
17
18
|
|
|
18
19
|
export type ZoomZoneType = ZoneType & { type: Extract<SubzoneTypeCategory, 'subZone'> }
|
|
19
|
-
export type DefinitionsType = ZoneType & { type: Extract<SubzoneTypeCategory, 'definition'
|
|
20
|
-
export type PicWordType = ZoneType & { type: Extract<SubzoneTypeCategory, 'picWord'>; word?: string
|
|
20
|
+
export type DefinitionsType = ZoneType & { type: Extract<SubzoneTypeCategory, 'definition'> }
|
|
21
|
+
export type PicWordType = ZoneType & { type: Extract<SubzoneTypeCategory, 'picWord'>; word?: string }
|
|
21
22
|
|
|
22
23
|
export type SubZoneType = ZoomZoneType | DefinitionsType | PicWordType
|
|
23
24
|
|
|
@@ -27,6 +28,7 @@ export type DocJson<T extends 'primary' | 'default' = 'default'> = {
|
|
|
27
28
|
contentMd?: string
|
|
28
29
|
} & (T extends 'primary'
|
|
29
30
|
? {
|
|
31
|
+
src?: string
|
|
30
32
|
picWords?: PicWordType[]
|
|
31
33
|
definitions?: DefinitionsType[]
|
|
32
34
|
subZones?: ZoomZoneType[]
|
package/overrides/lodash.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { AnyFunction } from '@typings/utils'
|
|
2
1
|
import type lo from 'lodash'
|
|
3
2
|
import type _ from 'lodash/fp'
|
|
4
3
|
import type { ValueOf } from '../utils.d.ts'
|
|
@@ -10,9 +9,6 @@ declare module 'lodash/fp.js' {
|
|
|
10
9
|
collection: Iterable
|
|
11
10
|
) => TResult[]
|
|
12
11
|
}
|
|
13
|
-
interface LodashDebounce {
|
|
14
|
-
convert: (options: { fixed: false }) => <T extends AnyFunction>(delay: number, fn: T, opts: { leading?: boolean; trailing?: boolean }) => T
|
|
15
|
-
}
|
|
16
12
|
|
|
17
13
|
interface LodashForEach {
|
|
18
14
|
convert: (a: { cap: false }) => <Iterable, TResult>(
|