Invoke your function when you declare it.
aliases: "invoke"
Usage: doDeclare(func: Function, args?: Array): Function
doDeclare(func: Function, args?: Array): Function
import { doDeclare } from 'do-declare' const func = doDeclare(()=> console.log(123)) // Output: 123 func() // Output: 123
This module exported from utilizes project.