Skip to content

Commit

Permalink
fix(Types): Remove labeled tuple elements
Browse files Browse the repository at this point in the history
This was causing TS problems in client apps.

fix #33
  • Loading branch information
cahilfoley committed Jan 20, 2022
1 parent 9b78f67 commit 30dbfa7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/Snowflake.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/Snowflake.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/Snowflake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface SnowflakeProps {
*
* The default value is `[0.5, 3.0]`.
*/
radius: [minimumRadius: number, maximumRadius: number]
radius: [number, number]
/**
* The minimum and maximum speed of the snowflake.
*
Expand All @@ -20,7 +20,7 @@ export interface SnowflakeProps {
*
* The default value is `[1.0, 3.0]`.
*/
speed: [minimumSpeed: number, maximumSpeed: number]
speed: [number, number]
/**
* The minimum and maximum wind of the snowflake.
*
Expand All @@ -31,7 +31,7 @@ export interface SnowflakeProps {
*
* The default value is `[-0.5, 2.0]`.
*/
wind: [minimumWind: number, maximumWind: number]
wind: [number, number]
/**
* The frequency in frames that the wind and speed values
* will update.
Expand Down

0 comments on commit 30dbfa7

Please sign in to comment.