HATEOAS-first backend framework.
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.

index.ts 197 B

123456
  1. export default function add(a: number, b: number): number {
  2. if (process.env.NODE_ENV !== 'production') {
  3. console.log('This code would not appear on production builds');
  4. }
  5. return a + b;
  6. }