From 285e8b4b759d5934a937ef11810579c2b5422fe9 Mon Sep 17 00:00:00 2001 From: Matias Pequeno Date: Wed, 6 Mar 2024 17:56:50 -0300 Subject: [PATCH] bbbbbbbbbbbbbbb --- examples/node-dist/index.js | 18 +++++++++--------- examples/node-typescript/dist/index.js | 2 +- examples/node-typescript/dist/index.js.map | 2 +- examples/node-typescript/src/index.ts | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/node-dist/index.js b/examples/node-dist/index.js index 912896e34..f4acb4515 100644 --- a/examples/node-dist/index.js +++ b/examples/node-dist/index.js @@ -1,13 +1,13 @@ -'use strict'; +"use strict"; module.exports = function error() { - class CustomError extends Error { - constructor(message) { - super(`Lorem "${message}" ipsum dolor.`); - this.name = 'CustomError'; + class CustomError extends Error { + constructor(message) { + super(`Lorem "${message}" ipsum dolor.`); + this.name = 'CustomError'; + } } - } - // TypeScript code snippet will include `` - var error = new CustomError('foo'); - throw error; + // TypeScript code snippet will include `` + var error = new CustomError('foo'); + throw error; }; //# sourceMappingURL=index.js.map diff --git a/examples/node-typescript/dist/index.js b/examples/node-typescript/dist/index.js index f8159757b..f4acb4515 100644 --- a/examples/node-typescript/dist/index.js +++ b/examples/node-typescript/dist/index.js @@ -10,4 +10,4 @@ module.exports = function error() { var error = new CustomError('foo'); throw error; }; -//# sourceMappingURL=index.js.map \ No newline at end of file +//# sourceMappingURL=index.js.map diff --git a/examples/node-typescript/dist/index.js.map b/examples/node-typescript/dist/index.js.map index 2a9f2c2a9..1eaa2b459 100644 --- a/examples/node-typescript/dist/index.js.map +++ b/examples/node-typescript/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iBAAS,SAAS,KAAK;IAErB,MAAM,WAAY,SAAQ,KAAK;QAC7B,YAAY,OAAe;YACzB,KAAK,CAAC,UAAU,OAAO,gBAAgB,CAAC,CAAC;YACzC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC5B,CAAC;KACF;IACD,iDAAiD;IACjD,IAAI,KAAK,GAAW,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC;IAC3C,MAAM,KAAK,CAAC;AACd,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iBAAS,SAAS,KAAK;IAErB,MAAM,WAAY,SAAQ,KAAK;QAC7B,YAAY,OAAe;YACzB,KAAK,CAAC,UAAU,OAAO,gBAAgB,CAAC,CAAC;YACzC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC5B,CAAC;KACF;IACD,iDAAiD;IACjD,IAAI,KAAK,GAAW,IAAI,WAAW,CAAC,KAAK,CAAC,CAAC;IAC3C,MAAM,KAAK,CAAC;AACd,CAAC,CAAA"} diff --git a/examples/node-typescript/src/index.ts b/examples/node-typescript/src/index.ts index c4b486934..359069972 100644 --- a/examples/node-typescript/src/index.ts +++ b/examples/node-typescript/src/index.ts @@ -7,6 +7,6 @@ export = function error() { } } // TypeScript code snippet will include `` - var error = new CustomError('foo'); + var error = new CustomError('foo'); throw error; -}; +}