Working exp.extends()

This commit is contained in:
Julien Valverdé
2024-01-31 06:44:18 +01:00
parent 11335f10cd
commit a0aa9446d6
5 changed files with 35 additions and 12 deletions

7
src/util/misc.ts Normal file
View File

@@ -0,0 +1,7 @@
import { Fn } from "hotscript"
import { Simplify } from "type-fest"
export interface SimplifyFn extends Fn {
return: Simplify<this["arg0"]>
}