Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
modal
/
code-sdk
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Toiminta
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4
Commitit
1
Haara
218 KiB
TypeScript
100%
Puu:
30ddf38fe6
master
Branchit
Tagit
${ item.name }
Create branch
${ searchTerm }
from '30ddf38fe6'
${ noResults }
code-sdk
/
src
/
utils
/
error.ts
2 rivejä
101 B
Raaka
Blame
Historia
export const notFoundFactory = <T extends Error>(ErrorClass: { new(): T }) => () => new ErrorClass()