chore: rephrase two todo's

This commit is contained in:
Jos de Jong 2023-01-04 14:32:17 +01:00
parent 0ea786dcc2
commit e468ec72dd

View File

@ -82,9 +82,9 @@ export const sqrt =
& Dependencies<'zero' | 'complex', T> & Dependencies<'zero' | 'complex', T>
& Dependencies<'absquare' | 're' | 'divideReal', Complex<T>> & Dependencies<'absquare' | 're' | 'divideReal', Complex<T>>
& { & {
addNumber: Signature<'addReal', T>, // TODO: should be possible to use Signature<'add'> here addNumber: Signature<'addReal', T>, // TODO: should use Signature<'add'> here
addReal: Signature<'add', RealType<T>>, addReal: Signature<'add', RealType<T>>,
addComplex: Signature<'addReal', Complex<T>> // TODO: should be possible to use Signature<'add'> here addComplex: Signature<'addReal', Complex<T>> // TODO: should use Signature<'add'> here
}): }):
Signature<'sqrt', Complex<T>> => Signature<'sqrt', Complex<T>> =>
z => { z => {