declare the shape of the json you're binding to type data = {names: array<string>} // bind to JS' JSON.parse @scope("JSON") @val external parseIntoMyData: ...
確定! 回上一頁