import * as json from './json/option/option.json' ; import * as jsonGL from './json/option/option-gl.json' ; import { OptionsStruct } from './type' ; export function getOptionsStruct ( ) { const optionsNames = { } ; Object . assign ( optionsNames , json ) ; Object . assign ( optionsNames , jsonGL ) ; return optionsNames ; }