feat(Types): Improve type spec and ignore signatures that use unknown type
This commit is contained in:
parent
890752a1e7
commit
358f68fbbd
7 changed files with 129 additions and 70 deletions
|
@ -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})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue