brownsugar Simple library for managing structures, types & errors. setup install the package npm install brownsugar enable strict mode inside tsconfig.json { "compilerOptions": { // ... "strict": true } } This will enable strict type checking which is required for correct usage of the library.