Prettier and TypeScript-ESLint maintainer. You’ll probably find me on other OSS projects too.
The XY Problem
Review comments:
Please use the [edit] link to explain how this code works and don't just give the code, as an explanation is more likely to help future readers. See also [answer].
If there is a problem with the post, please click the “flag” link on the post to report it. Answers should only be used to answer the question.
If this question is a duplicate of another one, please flag it as a [duplicate](http://stackoverflow.com/help/duplicates).
Rendered:
Please use the edit link to explain how this code works and don't just give the code, as an explanation is more likely to help future readers. See also How to Answer.
If there is a problem with the post, please click the “flag” link on the post to report it. Answers should only be used to answer the question.
If this question is a duplicate of another one, please flag it as a duplicate.
If you want to verify my identity or confirm that I own any of the accounts or websites I claim to, you can do so using Keybase. I am j_f on Keybase, and I am signing the following string using the PGP key identified on my Keybase profile:
6816483
which generates the following signed message:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
6816483
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.0.71
wsFcBAABCgAGBQJZPtTqAAoJEAth0Y6lS0fhj3EP/0NaC/exHGWkyFsIFCTLtsTx
FksUK4h7OdKa2fm8HcfD6nYuFrxWbqjrblmfBkSctrjRC0RdULtJ0nNLktoO4CXn
bP3vorENdfq8BmCnn23y2edgqePbiir1GXqxXCgUisLEO86x7B9aQ3KUapOJ06j6
0RS4U9RiIOgBm/vPCnzKRhgcIHlMLGtFais6+DLJ+wcIF+uqkga/K05D/qu4KP8a
Mp8LKgkRG7O/GngMojyWvf14a3okt5JvC90BkDCBvqe5hGBIGt5v5LHlH1teHmk6
PCkzTYFpNiPGPWpYUEPhUMAxSHXiCy18HqMveHxGDxvzNwrbkZRZ0CM+UjM8a0AK
lZStsW1TyE6fnEom/x+oq8REFi8+lFlIDdLVLnZ8sbzWAxILn2l5LRdiXtsPaE9g
NWy8MGOv1JGYTE+tl2U96lGQucHeNT2jsEUFdQHHk3tVmuxI46HiPS0vm/OwhuaK
3/y1wbT02WHFdDPd/AhwopA8yeufRhzoo5ahDJ5tCeJPiA2afqQjR0ZAs33WY5oe
CcmvNXIEOIG3y4phPN61t0vQrO+iLVTeN2/vC/tuDpz3hRBABNzaILdgOL5tuKqr
9LI6Sw1PmN6KSMcaNtxAQlgL/B/PqGkWdejiDl6cJO2Q2G+/EyASTFURcF125Azi
u65JwqutSdXeAhYGpHVw
=nzid
-----END PGP SIGNATURE-----
You can paste the above text into Keybase's verification prompt to verify that j_f on Keybase signed the text.
from ArtOfCode’s profile.
Thanks!