UNPKG
ngx-testing-tools
Version:
latest (3.0.2)
3.0.2
3.0.1
3.0.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.1
2.0.0
Makes Angular testing easier
github.com/remscodes/ngx-testing-tools
remscodes/ngx-testing-tools
ngx-testing-tools
/
lib
/
common
/
assertions
/
assert-instance.d.ts
5 lines
(4 loc)
•
224 B
TypeScript
View Raw
1
2
3
4
5
import
{
Type
}
from
'@angular/core'
;
export
declare
function
assertInstance
(
instance
:
unknown
,
Ctor
:
Type
<
unknown
> |
AbstractType
<
unknown
>
):
void
;
type
AbstractType
<T =
any
> =
abstract
new
(...
args
:
any
[]) => T;
export
{};