source:
trip-planner-front/node_modules/rfdc/index.test-d.ts@
76712b2
Last change on this file since 76712b2 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 174 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | import { expectType } from 'tsd'; |
2 | import rfdc = require('.'); | |
3 | ||
4 | const clone = rfdc(); | |
5 | ||
6 | expectType<number>(clone(5)); | |
7 | expectType<{ lorem: string }>(clone({ lorem: "ipsum" })); |
Note:
See TracBrowser
for help on using the repository browser.