This website requires JavaScript.
Explore
Help
Sign In
glen
/
typocomath
Watch
2
Star
0
Fork
You've already forked typocomath
0
Code
Issues
3
Pull Requests
Packages
Projects
Releases
Wiki
Activity
approach2.5
typocomath
/
src
/
generic
/
type.ts
4 lines
41 B
TypeScript
Raw
Permalink
Normal View
History
Unescape
Escape
refactor: Specify implementation types directly Rather than speficying return types as a type transformation from parameter types, assume that all the type info can be inferred from the first parameter, and directly specify the implementation types. Vastly simplifies the declaration of implementation types.
2022-12-27 22:55:17 +00:00
export
interface
GenericImpTypes
<
T
>
{
feat: Add generic operation `square` and numeric `unequal` (#4) Co-authored-by: Jos de Jong <wjosdejong@gmail.com> Co-authored-by: Glen Whitney <glen@studioinfinity.org> Reviewed-on: https://code.studioinfinity.org/glen/typocomath/pulls/4
2022-12-22 16:12:36 +00:00
refactor: Specify implementation types directly Rather than speficying return types as a type transformation from parameter types, assume that all the type info can be inferred from the first parameter, and directly specify the implementation types. Vastly simplifies the declaration of implementation types.
2022-12-27 22:55:17 +00:00
}