mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 06:14:36 +01:00
refactor
This commit is contained in:
1 parent
fc2547bd59
commit
231006e61d
2143 files changed
No files matched your search
-13
@@ -1,13 +0,0 @@
|
||||
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