You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import bigDecimal from "js-big-decimal";
class bigger extends bigDecimal {
sayHi(text: string) {
console.log("Say hi ", text);
}
}
const b = new bigger("232.54");
console.log(b.getPrettyValue());
console.log(b.sayHi("Nil"));
Describe the bug
I would like to create an extension method
To Reproduce
Fails with "is a non-module entity"
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: