Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega committed Oct 20, 2022
1 parent fa012d5 commit 9377b0c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/interfaces/i_procedure_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import {IProcedureModel} from './i_procedure_model.js';
import {IProcedureModel} from './i_procedure_model.js';


export interface IProcedureMap extends Map<string, IProcedureModel> {
Expand Down
5 changes: 2 additions & 3 deletions core/procedures/observable_procedure_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ import type {Workspace} from '../workspace.js';
import {IProcedureMap} from '../interfaces/i_procedure_map.js';


export class ObservableProcedureMap
extends Map<string, IProcedureModel>
implements IProcedureMap {
export class ObservableProcedureMap extends
Map<string, IProcedureModel> implements IProcedureMap {
constructor(private readonly workspace: Workspace) {
super();
}
Expand Down
4 changes: 2 additions & 2 deletions core/procedures/observable_procedure_model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class ObservableProcedureModel implements IProcedureModel {
setReturnTypes(types: string[]|null): this {
if (types && types.length) {
throw new Error(
'The built-in ProcedureModel does not support typing. You need to ' +
'implement your own custom ProcedureModel.');
'The built-in ProcedureModel does not support typing. You need to ' +
'implement your own custom ProcedureModel.');
}
this.returnTypes = types;
// TODO(#65): Fire events.
Expand Down
4 changes: 2 additions & 2 deletions core/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import type * as toolbox from './utils/toolbox.js';
import {VariableMap} from './variable_map.js';
import type {VariableModel} from './variable_model.js';
import type {WorkspaceComment} from './workspace_comment.js';
import { IProcedureMap } from './interfaces/i_procedure_map.js';
import { ObservableProcedureMap } from './procedures.js';
import {IProcedureMap} from './interfaces/i_procedure_map.js';
import {ObservableProcedureMap} from './procedures.js';


/**
Expand Down

0 comments on commit 9377b0c

Please sign in to comment.