const Regress = imports.gi.Regress; let testStructA = new Regress.TestStructA({ some_int: value some_int8: value some_double: value some_enum: value });