mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
6 lines
127 B
JavaScript
6 lines
127 B
JavaScript
const [
|
|
width= nextWidth,
|
|
height= nextHeight,
|
|
baseline= nextBaseline,
|
|
] = measureText(nextText, getFontString(element));
|