@lls/typings 24.1.34-1ea44ded → 24.1.34-23c6a97f
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/user.d.ts +2 -1
- package/overrides/html-to-react.d.ts +5 -1
- package/overrides/lodash.d.ts +13 -3
- package/package.json +1 -1
package/internal/user.d.ts
CHANGED
|
@@ -22,7 +22,8 @@ export type User = {
|
|
|
22
22
|
passwordUpdateRequired?: boolean
|
|
23
23
|
confirmed?: boolean
|
|
24
24
|
userPages?: number[] | null
|
|
25
|
-
schoolTypes?: SchoolTypeName[]
|
|
25
|
+
schoolTypes?: SchoolTypeName[] | null
|
|
26
|
+
hasContentNewsletter?: boolean | null
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
export type AdminUser = User & { isAdmin: true }
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
declare module 'html-to-react' {
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
Element as DomHandlerElement,
|
|
4
|
+
Node as DomHandlerNode,
|
|
5
|
+
DomElement as DomHandlerDomElement
|
|
6
|
+
} from 'domhandler'
|
|
3
7
|
// TODO: Element is clearly inaccurate. It misses accessors like tagName, attributes
|
|
4
8
|
|
|
5
9
|
export type Node = DomHandlerNode
|
package/overrides/lodash.d.ts
CHANGED
|
@@ -6,17 +6,27 @@ import type { ValueOf } from '../utils.d.ts'
|
|
|
6
6
|
declare module 'lodash/fp.js' {
|
|
7
7
|
interface LodashMap {
|
|
8
8
|
convert: (a: { cap: false }) => <Iterable, TResult>(
|
|
9
|
-
iteratee: (
|
|
9
|
+
iteratee: (
|
|
10
|
+
value: Iterable extends Array<infer T> ? T : ValueOf<Iterable>,
|
|
11
|
+
idx: Iterable extends any[] ? number : keyof Iterable
|
|
12
|
+
) => TResult,
|
|
10
13
|
collection: Iterable
|
|
11
14
|
) => TResult[]
|
|
12
15
|
}
|
|
13
16
|
interface LodashDebounce {
|
|
14
|
-
convert: (options: { fixed: false }) => <T extends AnyFunction>(
|
|
17
|
+
convert: (options: { fixed: false }) => <T extends AnyFunction>(
|
|
18
|
+
delay: number,
|
|
19
|
+
fn: T,
|
|
20
|
+
opts: { leading?: boolean; trailing?: boolean }
|
|
21
|
+
) => T
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
interface LodashForEach {
|
|
18
25
|
convert: (a: { cap: false }) => <Iterable, TResult>(
|
|
19
|
-
iteratee: (
|
|
26
|
+
iteratee: (
|
|
27
|
+
value: Iterable extends Array<infer T> ? T : ValueOf<Iterable>,
|
|
28
|
+
idx: Iterable extends any[] ? number : keyof Iterable
|
|
29
|
+
) => TResult,
|
|
20
30
|
collection: Iterable
|
|
21
31
|
) => void
|
|
22
32
|
}
|