记录

2016-03-30  本文已影响0人  Jalon
interface objInterface {   
   label:string    
   size?:number
}
interface returnInterface {
  color: string; 
  area: number
}
function printLabel(labelledObj: objInterface): returnInterface {    
  let a = {color: '#asd', area: 1}    
  return a
}
上一篇 下一篇

猜你喜欢

热点阅读