Answers for "figma doc app"

1

figma.com

Icn_Hambuger
Posted by: Guest on October-28-2020
-1

figma documentation

// The ': string[]' is an annotation
let list: string[] = []
for (const node of figma.currentPage.selection) {
  list.push(node.type)
}

// The ': number' are also annotations
function doThing(x: number, str: string) {
  // ...
}
Posted by: Guest on December-19-2020

Browse Popular Code Answers by Language