Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rbxts/number-spinner-typings

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rbxts/number-spinner-typings - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

out/types.d.ts

58

out/index.d.ts

@@ -1,61 +0,5 @@

interface Digit {
Duration: number;
Value: number;
Labels: ReadonlyArray<TextLabel>;
readonly CanvasTween: ReadonlyArray<Tween>;
}
import { NumberSpinner } from './types'
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;
Value: number;
}
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;
}
declare const NumberSpinner: NumberSpinner;
export = NumberSpinner;
{
"name": "@rbxts/number-spinner-typings",
"version": "1.0.4",
"version": "1.0.5",
"description": "Boatbomber's number spinner module typings",

@@ -5,0 +5,0 @@ "main": "out/init.lua",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc