From 117a629a1b3f8fad9ccd7e92e25a5912ece24c9a Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Sun, 10 Jul 2022 21:06:21 -0600 Subject: [PATCH] Add missing semicolons, see https://github.com/phetsims/chipper/issues/1275 --- js/FaucetNode.ts | 2 +- js/SpectrumNode.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/FaucetNode.ts b/js/FaucetNode.ts index d6646efbd..5d778785b 100644 --- a/js/FaucetNode.ts +++ b/js/FaucetNode.ts @@ -341,7 +341,7 @@ export default class FaucetNode extends AccessibleSlider( Node, 0 ) { documentation: 'Faucet that emits fluid, typically user-controllable', supertype: Node.NodeIO, events: [ 'startTapToDispense', 'endTapToDispense' ] - } ) + } ); } type ShooterNodeOptions = { diff --git a/js/SpectrumNode.ts b/js/SpectrumNode.ts index 10ec49801..934140c4f 100644 --- a/js/SpectrumNode.ts +++ b/js/SpectrumNode.ts @@ -41,7 +41,7 @@ export default class SpectrumNode extends Node { public static DEFAULT_VALUE_TO_COLOR = ( value: number ) => { assert && assert( value >= 0 && value <= 1, `value is out of range [0,1]: ${value}` ); return new Color( 255 * value, 255 * value, 255 * value ); - } + }; public constructor( providedOptions?: SpectrumNodeOptions ) {