Skip to content

Commit

Permalink
0.9.1: Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
codyjdalton committed Apr 24, 2021
1 parent 16df184 commit 45daa1f
Show file tree
Hide file tree
Showing 6 changed files with 1,522 additions and 1,477 deletions.
7 changes: 7 additions & 0 deletions .mocharc.yml
@@ -0,0 +1,7 @@
require:
- 'ts-node/register'
- 'source-map-support/register'
full-trace: true
spec: '**/*.spec.ts'
bail: true
slow: 2000
2 changes: 1 addition & 1 deletion lib/compiler/classes/compiler.class.ts
Expand Up @@ -118,7 +118,7 @@ export class ServiceCompiler extends CoreCompiler {
*
* returns: 'some/path'
*/
private getPath(parts: Array<string | null | undefined>): string {
private getPath(parts: (string | null | undefined)[]): string {
return parts.filter(
(part) => part
).join('/');
Expand Down
4 changes: 1 addition & 3 deletions lib/utils/core.util.ts
@@ -1,9 +1,7 @@
/**
* Object instance type
*/
export interface Type<T> {
new(...args: any[]): T;
}
export type Type<T> = new(...args: any[]) => T;

/**
* Generic `ClassDecorator` type
Expand Down

0 comments on commit 45daa1f

Please sign in to comment.