@tanstack/solid-router 1.132.0-alpha.2 → 1.132.0-alpha.21
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/dist/cjs/HeadContent.cjs +9 -6
- package/dist/cjs/HeadContent.cjs.map +1 -1
- package/dist/cjs/ScriptOnce.cjs +2 -2
- package/dist/cjs/ScriptOnce.cjs.map +1 -1
- package/dist/cjs/fileRoute.cjs.map +1 -1
- package/dist/cjs/fileRoute.d.cts +2 -2
- package/dist/cjs/index.cjs +10 -14
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +4 -2
- package/dist/cjs/link.cjs +48 -31
- package/dist/cjs/link.cjs.map +1 -1
- package/dist/cjs/route.cjs.map +1 -1
- package/dist/cjs/route.d.cts +11 -11
- package/dist/cjs/router.cjs +1 -1
- package/dist/cjs/router.cjs.map +1 -1
- package/dist/cjs/scroll-restoration.cjs +11 -3
- package/dist/cjs/scroll-restoration.cjs.map +1 -1
- package/dist/cjs/useBlocker.cjs +1 -1
- package/dist/cjs/useBlocker.cjs.map +1 -1
- package/dist/cjs/useNavigate.cjs +3 -11
- package/dist/cjs/useNavigate.cjs.map +1 -1
- package/dist/cjs/useParams.cjs +3 -2
- package/dist/cjs/useParams.cjs.map +1 -1
- package/dist/esm/HeadContent.js +9 -6
- package/dist/esm/HeadContent.js.map +1 -1
- package/dist/esm/ScriptOnce.js +2 -2
- package/dist/esm/ScriptOnce.js.map +1 -1
- package/dist/esm/fileRoute.d.ts +2 -2
- package/dist/esm/fileRoute.js.map +1 -1
- package/dist/esm/index.d.ts +4 -2
- package/dist/esm/index.js +4 -5
- package/dist/esm/link.js +48 -31
- package/dist/esm/link.js.map +1 -1
- package/dist/esm/route.d.ts +11 -11
- package/dist/esm/route.js.map +1 -1
- package/dist/esm/router.js +1 -1
- package/dist/esm/router.js.map +1 -1
- package/dist/esm/scroll-restoration.js +11 -3
- package/dist/esm/scroll-restoration.js.map +1 -1
- package/dist/esm/useBlocker.js +1 -1
- package/dist/esm/useBlocker.js.map +1 -1
- package/dist/esm/useNavigate.js +3 -11
- package/dist/esm/useNavigate.js.map +1 -1
- package/dist/esm/useParams.js +3 -2
- package/dist/esm/useParams.js.map +1 -1
- package/dist/source/HeadContent.jsx +9 -7
- package/dist/source/HeadContent.jsx.map +1 -1
- package/dist/source/ScriptOnce.jsx +1 -1
- package/dist/source/ScriptOnce.jsx.map +1 -1
- package/dist/source/fileRoute.d.ts +2 -2
- package/dist/source/fileRoute.js.map +1 -1
- package/dist/source/index.d.ts +4 -2
- package/dist/source/index.jsx +2 -1
- package/dist/source/index.jsx.map +1 -1
- package/dist/source/link.jsx +48 -41
- package/dist/source/link.jsx.map +1 -1
- package/dist/source/route.d.ts +11 -11
- package/dist/source/route.jsx.map +1 -1
- package/dist/source/router.js +1 -1
- package/dist/source/router.js.map +1 -1
- package/dist/source/scroll-restoration.jsx +11 -3
- package/dist/source/scroll-restoration.jsx.map +1 -1
- package/dist/source/useBlocker.jsx +1 -1
- package/dist/source/useBlocker.jsx.map +1 -1
- package/dist/source/useNavigate.jsx +3 -10
- package/dist/source/useNavigate.jsx.map +1 -1
- package/dist/source/useParams.jsx +3 -2
- package/dist/source/useParams.jsx.map +1 -1
- package/package.json +3 -3
- package/src/HeadContent.tsx +9 -6
- package/src/ScriptOnce.tsx +2 -2
- package/src/fileRoute.ts +10 -2
- package/src/index.tsx +8 -4
- package/src/link.tsx +46 -45
- package/src/route.tsx +75 -17
- package/src/router.ts +1 -1
- package/src/scroll-restoration.tsx +11 -4
- package/src/useBlocker.tsx +1 -1
- package/src/useNavigate.tsx +3 -12
- package/src/useParams.tsx +6 -4
package/src/route.tsx
CHANGED
|
@@ -20,6 +20,7 @@ import type {
|
|
|
20
20
|
ErrorComponentProps,
|
|
21
21
|
NotFoundError,
|
|
22
22
|
NotFoundRouteProps,
|
|
23
|
+
Register,
|
|
23
24
|
RegisteredRouter,
|
|
24
25
|
ResolveFullPath,
|
|
25
26
|
ResolveId,
|
|
@@ -152,6 +153,7 @@ export class RouteApi<
|
|
|
152
153
|
}
|
|
153
154
|
|
|
154
155
|
export class Route<
|
|
156
|
+
in out TRegister extends Register = Register,
|
|
155
157
|
in out TParentRoute extends RouteConstraints['TParentRoute'] = AnyRoute,
|
|
156
158
|
in out TPath extends RouteConstraints['TPath'] = '/',
|
|
157
159
|
in out TFullPath extends RouteConstraints['TFullPath'] = ResolveFullPath<
|
|
@@ -173,8 +175,10 @@ export class Route<
|
|
|
173
175
|
in out TLoaderFn = undefined,
|
|
174
176
|
in out TChildren = unknown,
|
|
175
177
|
in out TFileRouteTypes = unknown,
|
|
178
|
+
in out TSSR = unknown,
|
|
176
179
|
>
|
|
177
180
|
extends BaseRoute<
|
|
181
|
+
TRegister,
|
|
178
182
|
TParentRoute,
|
|
179
183
|
TPath,
|
|
180
184
|
TFullPath,
|
|
@@ -188,10 +192,12 @@ export class Route<
|
|
|
188
192
|
TLoaderDeps,
|
|
189
193
|
TLoaderFn,
|
|
190
194
|
TChildren,
|
|
191
|
-
TFileRouteTypes
|
|
195
|
+
TFileRouteTypes,
|
|
196
|
+
TSSR
|
|
192
197
|
>
|
|
193
198
|
implements
|
|
194
199
|
RouteCore<
|
|
200
|
+
TRegister,
|
|
195
201
|
TParentRoute,
|
|
196
202
|
TPath,
|
|
197
203
|
TFullPath,
|
|
@@ -205,7 +211,8 @@ export class Route<
|
|
|
205
211
|
TLoaderDeps,
|
|
206
212
|
TLoaderFn,
|
|
207
213
|
TChildren,
|
|
208
|
-
TFileRouteTypes
|
|
214
|
+
TFileRouteTypes,
|
|
215
|
+
TSSR
|
|
209
216
|
>
|
|
210
217
|
{
|
|
211
218
|
/**
|
|
@@ -213,6 +220,7 @@ export class Route<
|
|
|
213
220
|
*/
|
|
214
221
|
constructor(
|
|
215
222
|
options?: RouteOptions<
|
|
223
|
+
TRegister,
|
|
216
224
|
TParentRoute,
|
|
217
225
|
TId,
|
|
218
226
|
TCustomId,
|
|
@@ -224,7 +232,8 @@ export class Route<
|
|
|
224
232
|
TLoaderFn,
|
|
225
233
|
TRouterContext,
|
|
226
234
|
TRouteContextFn,
|
|
227
|
-
TBeforeLoadFn
|
|
235
|
+
TBeforeLoadFn,
|
|
236
|
+
TSSR
|
|
228
237
|
>,
|
|
229
238
|
) {
|
|
230
239
|
super(options)
|
|
@@ -277,6 +286,7 @@ export class Route<
|
|
|
277
286
|
}
|
|
278
287
|
|
|
279
288
|
export function createRoute<
|
|
289
|
+
TRegister extends Register = Register,
|
|
280
290
|
TParentRoute extends RouteConstraints['TParentRoute'] = AnyRoute,
|
|
281
291
|
TPath extends RouteConstraints['TPath'] = '/',
|
|
282
292
|
TFullPath extends RouteConstraints['TFullPath'] = ResolveFullPath<
|
|
@@ -296,8 +306,10 @@ export function createRoute<
|
|
|
296
306
|
TLoaderDeps extends Record<string, any> = {},
|
|
297
307
|
TLoaderFn = undefined,
|
|
298
308
|
TChildren = unknown,
|
|
309
|
+
TSSR = unknown,
|
|
299
310
|
>(
|
|
300
311
|
options: RouteOptions<
|
|
312
|
+
TRegister,
|
|
301
313
|
TParentRoute,
|
|
302
314
|
TId,
|
|
303
315
|
TCustomId,
|
|
@@ -309,9 +321,11 @@ export function createRoute<
|
|
|
309
321
|
TLoaderFn,
|
|
310
322
|
AnyContext,
|
|
311
323
|
TRouteContextFn,
|
|
312
|
-
TBeforeLoadFn
|
|
324
|
+
TBeforeLoadFn,
|
|
325
|
+
TSSR
|
|
313
326
|
>,
|
|
314
327
|
): Route<
|
|
328
|
+
TRegister,
|
|
315
329
|
TParentRoute,
|
|
316
330
|
TPath,
|
|
317
331
|
TFullPath,
|
|
@@ -325,9 +339,11 @@ export function createRoute<
|
|
|
325
339
|
TLoaderDeps,
|
|
326
340
|
TLoaderFn,
|
|
327
341
|
TChildren,
|
|
328
|
-
unknown
|
|
342
|
+
unknown,
|
|
343
|
+
TSSR
|
|
329
344
|
> {
|
|
330
345
|
return new Route<
|
|
346
|
+
TRegister,
|
|
331
347
|
TParentRoute,
|
|
332
348
|
TPath,
|
|
333
349
|
TFullPath,
|
|
@@ -341,36 +357,54 @@ export function createRoute<
|
|
|
341
357
|
TLoaderDeps,
|
|
342
358
|
TLoaderFn,
|
|
343
359
|
TChildren,
|
|
344
|
-
unknown
|
|
360
|
+
unknown,
|
|
361
|
+
TSSR
|
|
345
362
|
>(options)
|
|
346
363
|
}
|
|
347
364
|
|
|
348
|
-
export type AnyRootRoute = RootRoute<
|
|
365
|
+
export type AnyRootRoute = RootRoute<
|
|
366
|
+
any,
|
|
367
|
+
any,
|
|
368
|
+
any,
|
|
369
|
+
any,
|
|
370
|
+
any,
|
|
371
|
+
any,
|
|
372
|
+
any,
|
|
373
|
+
any,
|
|
374
|
+
any,
|
|
375
|
+
any
|
|
376
|
+
>
|
|
349
377
|
|
|
350
378
|
export function createRootRouteWithContext<TRouterContext extends {}>() {
|
|
351
379
|
return <
|
|
380
|
+
TRegister extends Register = Register,
|
|
352
381
|
TRouteContextFn = AnyContext,
|
|
353
382
|
TBeforeLoadFn = AnyContext,
|
|
354
383
|
TSearchValidator = undefined,
|
|
355
384
|
TLoaderDeps extends Record<string, any> = {},
|
|
356
385
|
TLoaderFn = undefined,
|
|
386
|
+
TSSR = unknown,
|
|
357
387
|
>(
|
|
358
388
|
options?: RootRouteOptions<
|
|
389
|
+
TRegister,
|
|
359
390
|
TSearchValidator,
|
|
360
391
|
TRouterContext,
|
|
361
392
|
TRouteContextFn,
|
|
362
393
|
TBeforeLoadFn,
|
|
363
394
|
TLoaderDeps,
|
|
364
|
-
TLoaderFn
|
|
395
|
+
TLoaderFn,
|
|
396
|
+
TSSR
|
|
365
397
|
>,
|
|
366
398
|
) => {
|
|
367
399
|
return createRootRoute<
|
|
400
|
+
TRegister,
|
|
368
401
|
TSearchValidator,
|
|
369
402
|
TRouterContext,
|
|
370
403
|
TRouteContextFn,
|
|
371
404
|
TBeforeLoadFn,
|
|
372
405
|
TLoaderDeps,
|
|
373
|
-
TLoaderFn
|
|
406
|
+
TLoaderFn,
|
|
407
|
+
TSSR
|
|
374
408
|
>(options as any)
|
|
375
409
|
}
|
|
376
410
|
}
|
|
@@ -381,6 +415,7 @@ export function createRootRouteWithContext<TRouterContext extends {}>() {
|
|
|
381
415
|
export const rootRouteWithContext = createRootRouteWithContext
|
|
382
416
|
|
|
383
417
|
export class RootRoute<
|
|
418
|
+
in out TRegister extends Register = Register,
|
|
384
419
|
in out TSearchValidator = undefined,
|
|
385
420
|
in out TRouterContext = {},
|
|
386
421
|
in out TRouteContextFn = AnyContext,
|
|
@@ -389,8 +424,10 @@ export class RootRoute<
|
|
|
389
424
|
in out TLoaderFn = undefined,
|
|
390
425
|
in out TChildren = unknown,
|
|
391
426
|
in out TFileRouteTypes = unknown,
|
|
427
|
+
in out TSSR = unknown,
|
|
392
428
|
>
|
|
393
429
|
extends BaseRootRoute<
|
|
430
|
+
TRegister,
|
|
394
431
|
TSearchValidator,
|
|
395
432
|
TRouterContext,
|
|
396
433
|
TRouteContextFn,
|
|
@@ -398,10 +435,12 @@ export class RootRoute<
|
|
|
398
435
|
TLoaderDeps,
|
|
399
436
|
TLoaderFn,
|
|
400
437
|
TChildren,
|
|
401
|
-
TFileRouteTypes
|
|
438
|
+
TFileRouteTypes,
|
|
439
|
+
TSSR
|
|
402
440
|
>
|
|
403
441
|
implements
|
|
404
442
|
RootRouteCore<
|
|
443
|
+
TRegister,
|
|
405
444
|
TSearchValidator,
|
|
406
445
|
TRouterContext,
|
|
407
446
|
TRouteContextFn,
|
|
@@ -409,7 +448,8 @@ export class RootRoute<
|
|
|
409
448
|
TLoaderDeps,
|
|
410
449
|
TLoaderFn,
|
|
411
450
|
TChildren,
|
|
412
|
-
TFileRouteTypes
|
|
451
|
+
TFileRouteTypes,
|
|
452
|
+
TSSR
|
|
413
453
|
>
|
|
414
454
|
{
|
|
415
455
|
/**
|
|
@@ -417,12 +457,14 @@ export class RootRoute<
|
|
|
417
457
|
*/
|
|
418
458
|
constructor(
|
|
419
459
|
options?: RootRouteOptions<
|
|
460
|
+
TRegister,
|
|
420
461
|
TSearchValidator,
|
|
421
462
|
TRouterContext,
|
|
422
463
|
TRouteContextFn,
|
|
423
464
|
TBeforeLoadFn,
|
|
424
465
|
TLoaderDeps,
|
|
425
|
-
TLoaderFn
|
|
466
|
+
TLoaderFn,
|
|
467
|
+
TSSR
|
|
426
468
|
>,
|
|
427
469
|
) {
|
|
428
470
|
super(options)
|
|
@@ -504,6 +546,7 @@ export type ErrorRouteComponent = AsyncRouteComponent<ErrorComponentProps>
|
|
|
504
546
|
export type NotFoundRouteComponent = RouteTypes<NotFoundRouteProps>['component']
|
|
505
547
|
|
|
506
548
|
export class NotFoundRoute<
|
|
549
|
+
TRegister extends Register,
|
|
507
550
|
TParentRoute extends AnyRootRoute,
|
|
508
551
|
TRouterContext = AnyContext,
|
|
509
552
|
TRouteContextFn = AnyContext,
|
|
@@ -512,7 +555,9 @@ export class NotFoundRoute<
|
|
|
512
555
|
TLoaderDeps extends Record<string, any> = {},
|
|
513
556
|
TLoaderFn = undefined,
|
|
514
557
|
TChildren = unknown,
|
|
558
|
+
TSSR = unknown,
|
|
515
559
|
> extends Route<
|
|
560
|
+
TRegister,
|
|
516
561
|
TParentRoute,
|
|
517
562
|
'/404',
|
|
518
563
|
'/404',
|
|
@@ -525,11 +570,13 @@ export class NotFoundRoute<
|
|
|
525
570
|
TBeforeLoadFn,
|
|
526
571
|
TLoaderDeps,
|
|
527
572
|
TLoaderFn,
|
|
528
|
-
TChildren
|
|
573
|
+
TChildren,
|
|
574
|
+
TSSR
|
|
529
575
|
> {
|
|
530
576
|
constructor(
|
|
531
577
|
options: Omit<
|
|
532
578
|
RouteOptions<
|
|
579
|
+
TRegister,
|
|
533
580
|
TParentRoute,
|
|
534
581
|
string,
|
|
535
582
|
string,
|
|
@@ -541,7 +588,8 @@ export class NotFoundRoute<
|
|
|
541
588
|
TLoaderFn,
|
|
542
589
|
TRouterContext,
|
|
543
590
|
TRouteContextFn,
|
|
544
|
-
TBeforeLoadFn
|
|
591
|
+
TBeforeLoadFn,
|
|
592
|
+
TSSR
|
|
545
593
|
>,
|
|
546
594
|
| 'caseSensitive'
|
|
547
595
|
| 'parseParams'
|
|
@@ -559,22 +607,27 @@ export class NotFoundRoute<
|
|
|
559
607
|
}
|
|
560
608
|
|
|
561
609
|
export function createRootRoute<
|
|
610
|
+
TRegister extends Register = Register,
|
|
562
611
|
TSearchValidator = undefined,
|
|
563
612
|
TRouterContext = {},
|
|
564
613
|
TRouteContextFn = AnyContext,
|
|
565
614
|
TBeforeLoadFn = AnyContext,
|
|
566
615
|
TLoaderDeps extends Record<string, any> = {},
|
|
567
616
|
TLoaderFn = undefined,
|
|
617
|
+
TSSR = unknown,
|
|
568
618
|
>(
|
|
569
619
|
options?: RootRouteOptions<
|
|
620
|
+
TRegister,
|
|
570
621
|
TSearchValidator,
|
|
571
622
|
TRouterContext,
|
|
572
623
|
TRouteContextFn,
|
|
573
624
|
TBeforeLoadFn,
|
|
574
625
|
TLoaderDeps,
|
|
575
|
-
TLoaderFn
|
|
626
|
+
TLoaderFn,
|
|
627
|
+
TSSR
|
|
576
628
|
>,
|
|
577
629
|
): RootRoute<
|
|
630
|
+
TRegister,
|
|
578
631
|
TSearchValidator,
|
|
579
632
|
TRouterContext,
|
|
580
633
|
TRouteContextFn,
|
|
@@ -582,14 +635,19 @@ export function createRootRoute<
|
|
|
582
635
|
TLoaderDeps,
|
|
583
636
|
TLoaderFn,
|
|
584
637
|
unknown,
|
|
585
|
-
unknown
|
|
638
|
+
unknown,
|
|
639
|
+
TSSR
|
|
586
640
|
> {
|
|
587
641
|
return new RootRoute<
|
|
642
|
+
TRegister,
|
|
588
643
|
TSearchValidator,
|
|
589
644
|
TRouterContext,
|
|
590
645
|
TRouteContextFn,
|
|
591
646
|
TBeforeLoadFn,
|
|
592
647
|
TLoaderDeps,
|
|
593
|
-
TLoaderFn
|
|
648
|
+
TLoaderFn,
|
|
649
|
+
unknown,
|
|
650
|
+
unknown,
|
|
651
|
+
TSSR
|
|
594
652
|
>(options)
|
|
595
653
|
}
|
package/src/router.ts
CHANGED
|
@@ -108,5 +108,5 @@ if (typeof globalThis !== 'undefined') {
|
|
|
108
108
|
;(globalThis as any).createLazyFileRoute = createLazyFileRoute
|
|
109
109
|
} else if (typeof window !== 'undefined') {
|
|
110
110
|
;(window as any).createFileRoute = createFileRoute
|
|
111
|
-
;(window as any).
|
|
111
|
+
;(window as any).createLazyFileRoute = createLazyFileRoute
|
|
112
112
|
}
|
|
@@ -8,6 +8,17 @@ import { ScriptOnce } from './ScriptOnce'
|
|
|
8
8
|
|
|
9
9
|
export function ScrollRestoration() {
|
|
10
10
|
const router = useRouter()
|
|
11
|
+
if (!router.isScrollRestoring || !router.isServer) {
|
|
12
|
+
return null
|
|
13
|
+
}
|
|
14
|
+
if (typeof router.options.scrollRestoration === 'function') {
|
|
15
|
+
const shouldRestore = router.options.scrollRestoration({
|
|
16
|
+
location: router.latestLocation,
|
|
17
|
+
})
|
|
18
|
+
if (!shouldRestore) {
|
|
19
|
+
return null
|
|
20
|
+
}
|
|
21
|
+
}
|
|
11
22
|
const getKey =
|
|
12
23
|
router.options.getScrollRestorationKey || defaultGetScrollRestorationKey
|
|
13
24
|
const userKey = getKey(router.latestLocation)
|
|
@@ -16,10 +27,6 @@ export function ScrollRestoration() {
|
|
|
16
27
|
? userKey
|
|
17
28
|
: undefined
|
|
18
29
|
|
|
19
|
-
if (!router.isScrollRestoring || !router.isServer) {
|
|
20
|
-
return null
|
|
21
|
-
}
|
|
22
|
-
|
|
23
30
|
const restoreScrollOptions: Parameters<typeof restoreScroll>[0] = {
|
|
24
31
|
storageKey,
|
|
25
32
|
shouldScrollRestoration: true,
|
package/src/useBlocker.tsx
CHANGED
|
@@ -185,7 +185,7 @@ export function useBlocker(
|
|
|
185
185
|
function getLocation(
|
|
186
186
|
location: HistoryLocation,
|
|
187
187
|
): AnyShouldBlockFnLocation {
|
|
188
|
-
const parsedLocation = router.parseLocation(
|
|
188
|
+
const parsedLocation = router.parseLocation(location)
|
|
189
189
|
const matchedRoutes = router.getMatchedRoutes(
|
|
190
190
|
parsedLocation.pathname,
|
|
191
191
|
undefined,
|
package/src/useNavigate.tsx
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as Solid from 'solid-js'
|
|
2
2
|
import { useRouter } from './useRouter'
|
|
3
|
-
import { useMatch } from './useMatch'
|
|
4
3
|
import type {
|
|
5
4
|
AnyRouter,
|
|
6
5
|
FromPathOption,
|
|
@@ -15,20 +14,12 @@ export function useNavigate<
|
|
|
15
14
|
>(_defaultOpts?: {
|
|
16
15
|
from?: FromPathOption<TRouter, TDefaultFrom>
|
|
17
16
|
}): UseNavigateResult<TDefaultFrom> {
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
const matchIndex = useMatch({
|
|
21
|
-
strict: false,
|
|
22
|
-
select: (match) => match.index,
|
|
23
|
-
})
|
|
17
|
+
const router = useRouter()
|
|
24
18
|
|
|
25
19
|
return ((options: NavigateOptions) => {
|
|
26
|
-
return navigate({
|
|
20
|
+
return router.navigate({
|
|
27
21
|
...options,
|
|
28
|
-
from:
|
|
29
|
-
options.from ??
|
|
30
|
-
_defaultOpts?.from ??
|
|
31
|
-
state.matches[matchIndex()]!.fullPath,
|
|
22
|
+
from: options.from ?? _defaultOpts?.from,
|
|
32
23
|
})
|
|
33
24
|
}) as UseNavigateResult<TDefaultFrom>
|
|
34
25
|
}
|
package/src/useParams.tsx
CHANGED
|
@@ -62,10 +62,12 @@ export function useParams<
|
|
|
62
62
|
> {
|
|
63
63
|
return useMatch({
|
|
64
64
|
from: opts.from!,
|
|
65
|
-
strict: opts.strict,
|
|
66
65
|
shouldThrow: opts.shouldThrow,
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
strict: opts.strict,
|
|
67
|
+
select: (match) => {
|
|
68
|
+
const params = opts.strict === false ? match.params : match._strictParams
|
|
69
|
+
|
|
70
|
+
return opts.select ? opts.select(params) : params
|
|
69
71
|
},
|
|
70
|
-
}
|
|
72
|
+
}) as Accessor<any>
|
|
71
73
|
}
|