Answers for "export default new class in es6"

0

export default new class in es6

class AuthController {
  sendOtp(req, res) {
    res.send('otp send')
  }
}

export default new AuthController()
Posted by: Guest on October-01-2021
0

how to export default class in javascript

export default class ClassName{...}
Posted by: Guest on July-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language