types/builders: elements names
This commit is contained in:
parent
d01e725875
commit
0d5e957952
@ -2,8 +2,10 @@ import buildAction from '../builders/build-action';
|
||||
import buildOptions from '../builders/build-options';
|
||||
import buildReadonly from '../builders/build-readonly';
|
||||
import buildValue from '../builders/build-value';
|
||||
import type { Elements as ActionElements } from './map/actions';
|
||||
import type { Elements as ValuesElements } from './map/values';
|
||||
|
||||
function wrapElementsBuilders<C, T extends Record<string, C>>(arg: T) {
|
||||
function wrapElementsBuilders<C, T extends Record<ValuesElements | ActionElements, C>>(arg: T) {
|
||||
return arg;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user