Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bin/webpack.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ const config = {
module.exports = [
config,
electronMainProcess,
];
];
78 changes: 72 additions & 6 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
"rimraf": "3.0.2",
"sinon": "10.0.0",
"ts-loader": "9.1.2",
"ts-node": "9.1.1",
"ts-node": "10.5.0",
"tsconfig-paths": "3.9.0",
"tsconfig-paths-webpack-plugin": "3.5.1",
"tslint": "6.1.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class ApplicationDirectory extends QixFsDirectoryAdapter {
sheets: true,
variables: true,
visualization: true
}
};

/**
* read directory
Expand Down
2 changes: 1 addition & 1 deletion src/projects/extension/stepper/stepper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class Stepper {
this.steps.push(step);
}

public async run<R extends unknown>(): Promise<(R | undefined)[]> {
public async run<R>(): Promise<(R | undefined)[]> {

const steps: IStep[] = [...this.steps];
const result: (R | undefined)[] = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ exports.config = {
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
};
};
2 changes: 1 addition & 1 deletion src/projects/shared/router/router.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { singleton, container } from "tsyringe";

export interface Route<T extends any> {
export interface Route<T> {
path: string;
ctrl: ClassConstructor<T>;
children?: Route<T>[];
Expand Down
4 changes: 2 additions & 2 deletions src/projects/shared/utils/cache-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class CacheRegistry<T extends Object> {
/**
* add value to cache
*/
public add<R extends any>(namespace: T, key: string, value: R): void {
public add<R>(namespace: T, key: string, value: R): void {

if (!namespace) {
return;
Expand All @@ -52,7 +52,7 @@ export class CacheRegistry<T extends Object> {
cache?.set(key, value);
}

public resolve<R extends any>(token: T, key: string): R | undefined {
public resolve<R>(token: T, key: string): R | undefined {
return this.registry.get(token)?.get(key);
}

Expand Down