I hereby claim:
- I am shakhzodkudratov on github.
- I am shakhzodkudratov (https://keybase.io/shakhzodkudratov) on keybase.
- I have a public key ASCqe4tJpp4U9UcVx4wykmMSsFAMh9k_GVVjGVp_2e7mIAo
To claim this, I am signing this object:
code = `` // put your code here | |
index = 0 | |
while (index > -1) { | |
regex = /(\d+|\d*\.\d+)rem/g | |
result = regex.exec(code.slice(index)) | |
if (result == null) { | |
index = -1 |
I hereby claim:
To claim this, I am signing this object:
--- |
I hereby claim:
To claim this, I am signing this object:
import type { RefObject } from "react"; | |
type UnrefType<T> = T extends RefObject<infer RT> ? RT : never; | |
type UnrefTuple<Tuple extends [...unknown[]]> = { | |
[Index in keyof Tuple]: UnrefType<Tuple[Index]>; | |
} & { length: Tuple["length"] }; | |
type FnRet = void | Promise<void>; | |
export function getRefs<T extends [...RefObject<unknown>[]]>( |