@rbxts/number-spinner-typings
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,1 +0,55 @@ | ||
export {}; | ||
interface Digit { | ||
Duration: number; | ||
Value: number; | ||
Labels: ReadonlyArray<TextLabel>; | ||
readonly CanvasTween: ReadonlyArray<Tween>; | ||
} | ||
interface NumberSpinnerInstance extends TextLabel { | ||
readonly Text: string; | ||
readonly CommaLabels: ReadonlyArray<TextLabel>; | ||
readonly Digits: ReadonlyArray<Digit>; | ||
readonly Frame: Frame; | ||
/** | ||
* Default “$” | ||
* The string to show before the number | ||
*/ | ||
Prefix: string; | ||
/** | ||
* Default “” | ||
* The string to show after the number | ||
*/ | ||
Suffix: string; | ||
/** | ||
* Default 2 | ||
* The number of decimal places that will be displayed | ||
*/ | ||
Decimals: number; | ||
/** | ||
* Default 0.3 | ||
* The time it takes to spin the number | ||
*/ | ||
Duration: number; | ||
/** | ||
* Default false | ||
* Whether to insert commas in relevant places | ||
*/ | ||
Commas: boolean; | ||
} | ||
interface NumberSpinner { | ||
/** | ||
* Creates a new Spinner object | ||
*/ | ||
new(): NumberSpinnerInstance; | ||
/** | ||
* Creates a new Spinner object with the properties of the given GuiObject | ||
*/ | ||
fromGuiObject(GuiObject: GuiObject): NumberSpinnerInstance; | ||
} |
{ | ||
"name": "@rbxts/number-spinner-typings", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Boatbomber's number spinner module typings", | ||
@@ -12,3 +12,4 @@ "main": "out/init.lua", | ||
"keywords": [], | ||
"author": "", | ||
"author": "g1mmeth3money", | ||
"repository": "https://github.com/cheetiedotpy/number-spinner-typings", | ||
"license": "ISC", | ||
@@ -15,0 +16,0 @@ "types": "out/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
51139
46
1
0