source:
trip-planner-front/node_modules/rfdc/index.test-d.ts@
b738035
Last change on this file since b738035 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 174 bytes |
Line | |
---|---|
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.