typocomath/src/numbers/native.ts

10 lines
343 B
TypeScript

import {GenericImplementations} from './predicate.js'
import {$$typeToString} from 'ts-macros'
export * from './type.js'
export * from './arithmetic.js'
export * from './predicate.js'
export * from './relational.js'
const test: ReturnType<GenericImplementations<unknown>['isReal']> =
(a: number) => true // = "oops" would fail as desired.