e8-flames
Advanced tools
Comparing version 1.0.0 to 1.0.1
23
index.js
"use strict"; | ||
exports.__esModule = true; | ||
exports.hello = void 0; | ||
var worldx = 'world'; | ||
function hello(world) { | ||
if (world === void 0) { world = worldx; } | ||
return "Hello ".concat(world, "! "); | ||
} | ||
exports.hello = hello; | ||
exports.Flames = void 0; | ||
var Flames = /** @class */ (function () { | ||
function Flames() { | ||
this.yourName = ''; | ||
this.crushName = ''; | ||
} | ||
Flames.prototype.addYourName = function (yourName) { | ||
}; | ||
Flames.prototype.addYourCurshName = function (crushName) { | ||
}; | ||
Flames.prototype.calc = function () { | ||
console.log("".concat(this.yourName, " Loves ").concat(this.crushName)); | ||
}; | ||
return Flames; | ||
}()); | ||
exports.Flames = Flames; |
14
index.ts
@@ -1,5 +0,13 @@ | ||
const worldx = 'world'; | ||
export class Flames { | ||
private yourName: string = ''; | ||
private crushName: string = ''; | ||
addYourName(yourName: string) { | ||
export function hello(world: string = worldx): string { | ||
return `Hello ${world}! `; | ||
} | ||
addYourCurshName(crushName: string) { | ||
} | ||
calc() { | ||
console.log(`${this.yourName} Loves ${this.crushName}`); | ||
} | ||
} |
{ | ||
"name": "e8-flames", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "crush compatibility calculator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
``` | ||
npx tsc index.ts | ||
npm publish --access public | ||
``` |
12297
121
4