Handle ES _default_ mapping names (#15432)
This commit is contained in:
parent
b7dce2d233
commit
273e4f8e3d
|
@ -5,5 +5,5 @@
|
|||
* @return {Array<string>}
|
||||
*/
|
||||
export function getTypes(mappings) {
|
||||
return Object.keys(mappings);
|
||||
return Object.keys(mappings).filter(type => type !== '_default_');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue