Skip to content

func

func(name, options?): FunctionDecl

func creates a new function declaration with a set of TypeScript option objects to configure overloads and function definitions (implementations).

Functions are checked for name collisions and singleton redefinition.

string

FunctionDeclOptions = {}

FunctionDecl