Skip to content

Commit

Permalink
Merge pull request #5 from kaskar2008/fix/typescript-strict-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kaskar2008 authored Oct 22, 2020
2 parents 309b549 + 3e69837 commit 155cbf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class Container<T> {
public name: string
public fields: any = {}

constructor (model: BaseModel<T>, name: string, fields: any, source?) {
constructor (model: BaseModel<T>, name: string, fields: any, source?: any) {
this.model = model
this.name = name
this.fields = fields
Expand Down
6 changes: 3 additions & 3 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ import { Container } from './Container'

export interface Processor {
name: string,
proc: (...params) => any
proc: (...params: any[]) => any
}

export interface Modifier {
name: string,
proc: (...params) => any
proc: (...params: any[]) => any
}

export interface MethodSet {
[key: string]: (...args) => any
[key: string]: (...args: any[]) => any
}

export interface ContainerSet<T> {
Expand Down

0 comments on commit 155cbf3

Please sign in to comment.