File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,12 @@ export type AddPrefixToKeys<
75
75
// This is a significant downside to using index signatures in types for `T`
76
76
// for `UpdateData<T>`.
77
77
78
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
79
78
{
79
+ /* eslint-disable @typescript-eslint/no-explicit-any */
80
80
[ K in keyof T & string as `${Prefix } .${K } `] +?: string extends K
81
81
? any
82
82
: T [ K ] ;
83
+ /* eslint-enable @typescript-eslint/no-explicit-any */
83
84
} ;
84
85
85
86
/**
Original file line number Diff line number Diff line change @@ -507,9 +507,6 @@ describe('UpdateData - v9', () => {
507
507
_ = {
508
508
'layer.indexed.bar.booleanProperty' : true
509
509
} ;
510
- _ = {
511
- 'unknown.indexed.bar.booleanProperty' : true
512
- } ;
513
510
514
511
// allows the property, but does not enforce type
515
512
_ = {
You can’t perform that action at this time.
0 commit comments