I hereby claim:
- I am danielnoon on github.
- I am supermegadex (https://keybase.io/supermegadex) on keybase.
- I have a public key ASAapQAy0hMrKgG6GCJu4Acg3hkZsu5YFVvj6YIGdF0qOwo
To claim this, I am signing this object:
import { FC, useState } from "react"; | |
import { createUseStyles, useTheme } from "react-jss"; | |
import { AppTheme } from "../theme"; | |
import { Button } from "./Button"; | |
import { Icon } from "./Icon"; | |
const useStyles = createUseStyles((theme: AppTheme) => ({ | |
wrapper: { | |
display: "grid", | |
}, |
type resolveListener<T> = (data: T) => void; | |
type rejectListener = (err: Error) => void; | |
export class CustomPromise<T> { | |
private resolved = false; | |
private errorState = false; | |
private data?: T; | |
private err?: Error; | |
private listeners: { | |
resolution: resolveListener<T>[]; |
I hereby claim:
To claim this, I am signing this object: