PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Monaco] Incorrect datatype for `lineNumbersMinChars`

Open PesBandi opened this issue 8 months ago • 0 comments

Microsoft PowerToys version

0.81.1

Installation method

GitHub

Running as admin

None

Area(s) with issue?

File Explorer: Preview Pane, Peek

Steps to reproduce

According to the docs lineNumbersMinChars is supposed to be a number, however: https://github.com/microsoft/PowerToys/blob/9509d7c1ccd3554d457d5617153e7a412a7760ae/src/common/FilePreviewCommon/Assets/Monaco/index.html#L84

✔️ Expected Behavior

number

❌ Actual Behavior

string

Other Software

No response

PesBandi avatar Jun 21 '24 17:06 PesBandi