Skip to content

aneldev/dyna-interfaces

Repository files navigation

About

Common typescript interfaces for applications.

Motivation

Interface are the contract between the object user the object itself.

This makes the interface also the blueprint of the object. Through the interfaces the logic is depicted, so they are important!

IResult interface, ILog IError IInfo IDebug

Many libraries, modules, methods export data that are common.

Especially the error output helps the object user to know what was wrong and how to face the error without parsing the thrown error object.

IResult interface