Skip to content

Commit

Permalink
add member-delimiter-style lint rule (semi colons after member declar…
Browse files Browse the repository at this point in the history
…ations in types). phetsims/chipper#1210
  • Loading branch information
zepumph committed Mar 23, 2022
1 parent c913734 commit feba830
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/ResponsePacket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type ResponsePacketOptions = {

// Collection of string patterns to use with responseCollector.collectResponses, see ResponsePatternCollection for
// more information.
responsePatternCollection?: ResponsePatternCollection
responsePatternCollection?: ResponsePatternCollection;
}

const DEFAULT_OPTIONS: OptionizeDefaults<ResponsePacketOptions> = {
Expand Down
4 changes: 2 additions & 2 deletions js/Utterance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type IAlertable = ResolvedResponse | ( () => string ) | ResponsePacket |
type AlertableNoUtterance = Exclude<IAlertable, Utterance>

type SerializedUtterance = {
alert: ResolvedResponse
alert: ResolvedResponse;
}

let globalIdCounter = 1;
Expand Down Expand Up @@ -75,7 +75,7 @@ type UtteranceOptions = {
// case, (2) is interrupted, and never finished.
// - (1) will continue speaking if (1) was speaking, and (2) is announced by the voicingManager. In this case (2)
// will be spoken when (1) is done
priority?: number
priority?: number;
}

class Utterance {
Expand Down
4 changes: 2 additions & 2 deletions js/UtteranceQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ import UtteranceWrapper from './UtteranceWrapper.js';
type SelfOptions = {

// add extra logging, helpful during debugging
debug?: boolean
debug?: boolean;

// By default, initialize the UtteranceQueue fully, with all features, if false, each function of this type will no-op
initialize?: boolean
initialize?: boolean;
};
type UtteranceQueueOptions = SelfOptions & PhetioObjectOptions;

Expand Down

0 comments on commit feba830

Please sign in to comment.