This fails, because opts is just a string[] . Silly error! I've fixed this so many times with as const since Typescript 3.4... right? const cOpts = [ ...
確定! 回上一頁