progress with type classes, type inference still very ad-hoc
This commit is contained in:
parent
5283be608b
commit
c5ac55b0ff
10 changed files with 64 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue