Skip to content

Commit 3d73979

Browse files
committed
chore: update to latest config
1 parent f01fcf8 commit 3d73979

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

.colonise.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": 2
2+
"version": 3
33
}

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"homepage": "https://github.com/Colonise/DataSource#readme",
3232
"devDependencies": {
33-
"@colonise/config": "^3.17.0",
33+
"@colonise/config": "^3.17.1",
3434
"rxjs": "^6.6.3"
3535
},
3636
"dependencies": {

source/data-sources/array-data-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class ArrayDataSource<TEntry> extends DataSource<TEntry[]> {
1919
*
2020
* @param array The array.
2121
*/
22-
public constructor (array: TEntry[] = []) {
22+
public constructor(array: TEntry[] = []) {
2323
super(array, array);
2424
}
2525

source/data-sources/data-source.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import { ComplexProcessor, Processor } from '../processors';
2-
import { QueueProcessor } from '../processors';
1+
import type { Processor } from '../processors';
2+
import {
3+
ComplexProcessor, QueueProcessor
4+
} from '../processors';
35

46
/**
57
* A class to handle temporal changes in data while not mutating the original data itself.
@@ -17,12 +19,12 @@ export class DataSource<TData> extends ComplexProcessor<TData> {
1719
*
1820
* @param data The data.
1921
*/
20-
public constructor (lastInput: TData, lastOutput: TData) {
22+
public constructor(lastInput: TData, lastOutput: TData) {
2123
super(lastInput, lastOutput);
2224

2325
this.queue.subscribe(newData => {
2426
if (!this.processing) {
25-
this.next(newData)
27+
this.next(newData);
2628
}
2729
});
2830
}

source/processors/debug-processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export interface Loggers<TData> {
66
}
77

88
export class DebugProcessor<TData> extends ComplexProcessor<TData> {
9-
public constructor (
9+
public constructor(
1010
public readonly name: string,
1111
public readonly wrapperProcessor: ComplexProcessor<TData>,
1212
public readonly loggers: Loggers<TData> = {

0 commit comments

Comments
 (0)