feat: add a first generic method, square (#10)
All checks were successful
/ test (push) Successful in 10s
All checks were successful
/ test (push) Successful in 10s
Resolves #2. Reviewed-on: #10 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
This commit is contained in:
parent
1a6890f458
commit
05ff078529
7 changed files with 34 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
import {generics} from './generics.js'
|
||||
import {numbers} from './numbers.js'
|
||||
import {TypeDispatcher} from '#core/TypeDispatcher.js'
|
||||
|
||||
const math = new TypeDispatcher(numbers)
|
||||
const math = new TypeDispatcher(generics, numbers)
|
||||
|
||||
export default math
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue