feat(Types): Improve type spec and ignore signatures that use unknown type

This commit is contained in:
Glen Whitney 2022-07-24 12:52:05 -07:00
parent 890752a1e7
commit 358f68fbbd
7 changed files with 129 additions and 70 deletions

View file

@ -9,8 +9,10 @@ export function isComplex(z) {
export const Types = {
Complex: {
test: isComplex,
number: x => ({re: x, im: 0}),
bigint: x => ({re: x, im: 0n})
from: {
number: x => ({re: x, im: 0}),
bigint: x => ({re: x, im: 0n})
}
}
}