UNPKG
pi-test-data
Version:
latest (1.0.8)
1.0.8
Manage test data for automation
github.com/automationpi/datapi
automationpi/datapi
pi-test-data
/
tester
/
node_modules
/
rfdc
/
index.test-d.ts
8 lines
(5 loc)
•
174 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{ expectType }
from
'tsd'
;
import
rfdc =
require
(
'.'
);
const
clone =
rfdc
(); expectType<
number
>(
clone
(
5
)); expectType<{
lorem
:
string
}>(
clone
({
lorem
:
"ipsum"
}));