Gets the name of a number, even if it's stupidly big. Supersedes TheoryOfNekomata/number-name.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
393 B

  1. import {
  2. add,
  3. AddFunctionOptions,
  4. ArgumentOutOfRangeError,
  5. InvalidArgumentTypeError,
  6. } from '@modal-sh/core';
  7. export interface AdderService {
  8. addNumbers(options: AddFunctionOptions): number;
  9. }
  10. export class AdderServiceImpl implements AdderService {
  11. addNumbers(options: AddFunctionOptions) {
  12. return add(options);
  13. }
  14. }
  15. export {
  16. ArgumentOutOfRangeError,
  17. InvalidArgumentTypeError,
  18. };