FindEditorOptionsKeyById
ts
FindEditorOptionsKeyById<T>: {
[K in keyof EditorOptionsType]: EditorOptionsType[K]["id"] extends T
? K
: never
}[keyof EditorOptionsType]
- EditorOptionsType
T extends
EditorOption