So I had a glance at React sources and there is the way: Let assume the function is in a file my-function.ts :
確定! 回上一頁