Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
13
Frontend-Learner/node_modules/rfdc/index.test-d.ts
generated
vendored
Normal file
13
Frontend-Learner/node_modules/rfdc/index.test-d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { expectType } from 'tsd';
|
||||
import rfdc = require('.');
|
||||
|
||||
const clone = rfdc();
|
||||
|
||||
expectType<number>(clone(5));
|
||||
expectType<{ lorem: string }>(clone({ lorem: "ipsum" }));
|
||||
|
||||
const cloneHandlers = rfdc({
|
||||
constructorHandlers: [
|
||||
[RegExp, (o) => new RegExp(o)],
|
||||
],
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue