mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-04-27 17:10:26 +00:00
update socials section
This commit is contained in:
+13
@@ -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)],
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user