@leismore/unknown2error
Version:
The function converts anything into an object of Error (or subclasses) class. If `error` is an object of Error (or subclasses) class, it returns the original `error` object. With any other type, it will convert it into a string first and then an Error obj
19 lines (18 loc) • 520 B
JSON
{
"compilerOptions":
{
"lib": ["ES2015"],
"target": "ES2015",
"baseUrl": "./src/",
"outDir": "./dist/",
"module": "CommonJS",
"moduleResolution": "Node",
"resolveJsonModule": true,
"strict": true,
"declaration": true,
"allowJs": false,
"checkJs": false
},
"include": ["./src/"],
"exclude": ["./node_modules/", "./dist/", "./.git/", "./test/"]
}