Skip to content

Commit

Permalink
Converting core of kite to TypeScript, and removing internal circular…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Jan 30, 2025
1 parent ae422d3 commit 9c486c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Bounds2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ export default class Bounds2 implements TPoolable {
*/
public static readonly EVERYTHING = new Bounds2( Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY );

public static readonly Bounds2IO = new IOType( 'Bounds2IO', {
public static readonly Bounds2IO = new IOType<Bounds2, Bounds2StateObject>( 'Bounds2IO', {
valueType: Bounds2,
documentation: 'a 2-dimensional bounds rectangle',
toStateObject: ( bounds2: Bounds2 ) => ( { minX: bounds2.minX, minY: bounds2.minY, maxX: bounds2.maxX, maxY: bounds2.maxY } ),
Expand Down

0 comments on commit 9c486c7

Please sign in to comment.