Skip to content

Commit

Permalink
fix minor type errors for version 5.3, phetsims/chipper#1417
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jan 12, 2024
1 parent 0489186 commit c259f5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/cag/LinearEdge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author Jonathan Olson <jonathan.olson@colorado.edu>
*/

import { ClipSimplifier, alpenglow } from '../imports.js';
import { alpenglow, ClipSimplifier } from '../imports.js';
import Range from '../../../dot/js/Range.js';
import Vector2 from '../../../dot/js/Vector2.js';
import { Line, Shape } from '../../../kite/js/imports.js';
Expand All @@ -21,7 +21,7 @@ export default class LinearEdge {
public constructor(
public readonly startPoint: Vector2,
public readonly endPoint: Vector2,
public readonly containsFakeCorner: boolean = false // TODO: propagate fake corners
public readonly containsFakeCorner = false // TODO: propagate fake corners
) {
assert && assert( startPoint.isFinite() );
assert && assert( endPoint.isFinite() );
Expand Down
2 changes: 1 addition & 1 deletion js/webgpu/compute/TextureBindingType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class TextureBindingType extends BindingType {
public constructor(
public readonly sampleType: GPUTextureSampleType,
public readonly viewDimension: GPUTextureViewDimension = '2d',
public readonly multisampled: boolean = false
public readonly multisampled = false
) {
super();
}
Expand Down

0 comments on commit c259f5c

Please sign in to comment.