UNPKG
@lifaon/rx-js-light
Version:
beta (1.0.0-beta.2)
latest (2.2.0)
2.2.0
2.1.0
2.0.0
1.2.1
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0-beta.2
1.0.0-beta.1
Blazing fast Observables
lifaon74/rx-js-light
@lifaon/rx-js-light
/
src
/
misc
/
errors
/
custom-error
/
create-custom-error.d.ts
3 lines
(2 loc)
•
203 B
TypeScript
View Raw
1
2
3
import
{
ICustomError
,
ICustomErrorOptions
}
from
'./custom-error.type'
;
export
declare
function
createCustomError<
GName
extends
string
>(
name
:
GName
,
options
?:
ICustomErrorOptions
):
ICustomError
<
GName
>;