progress with type classes, type inference still very ad-hoc

This commit is contained in:
Joeri Exelmans 2025-03-20 18:34:58 +01:00
parent 5283be608b
commit c5ac55b0ff
10 changed files with 64 additions and 19 deletions

View file

@ -53,7 +53,6 @@ export const typedFnType = (instance, callback) => {
export const typedFnType2 = callback => {
const fnTs = [];
const wrappedFnType = ({ in: inType, out: outType }) => {
console.log('wrappedFnType called');
const fnT = fnType({ in: inType, out: outType });
fnTs.push(fnT);
return fnT;