makeOptions<T>(opt): OptionFN<T>
T
opt
OptionFN
Create a options object
k
Partial
OptionFN<T>
const myOptions = k.makeOptions(k => (\{ pos: k.vec2(100, 100), scale: 2,\})); const myObj = k.extendMaker(k.makeObject, myOptions, (comps, opt) => (\{ // ...\}); ## Source global.d.ts:16