feat: updated deps & github actions workflow & licence #1
Annotations
10 errors
|
build (lts/*):
src/BaseModel.ts#L607
Type 'Promise<this>' is missing the following properties from type 'Bluebird<any>': caught, error, lastly, bind, and 38 more.
|
|
build (lts/*):
src/BaseModel.ts#L607
Type 'Promise<any>' is missing the following properties from type 'Bluebird<any>': caught, error, lastly, bind, and 38 more.
|
|
build (lts/*):
src/BaseModel.ts#L471
Conversion of type 'ModelType<any, any> | undefined' to type 'typeof BaseModel' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
build (lts/*):
src/BaseModel.ts#L447
Type '(tableName: string, options: QueryOptionsWithWhere, attributeSelector: string | string[], model?: typeof Model | undefined) => Bluebird<string[]>' is not assignable to type '(tableName: TableName, options: QueryOptionsWithWhere, attributeSelector: string | string[], model?: ModelType | undefined) => Promise<...>'.
|
|
build (lts/*):
src/BaseModel.ts#L417
Type '(model: typeof Model | null, tableName: string, options?: QueryOptionsWithWhere | undefined) => Bluebird<object[]>' is not assignable to type '(model: ModelType | null, tableName: TableName, options?: QueryOptionsWithWhere | undefined) => Promise<object[]>'.
|
|
build (lts/*):
src/BaseModel.ts#L337
Type '(tableName: string, identifier: WhereOptions, options?: QueryOptions | undefined, model?: typeof Model | undefined) => Bluebird<object>' is not assignable to type '(tableName: TableName, identifier: WhereOptions<any>, options?: QueryOptions | undefined, model?: ModelType | undefined) => Promise<...>'.
|
|
build (lts/*):
src/BaseModel.ts#L290
Type '<M extends Model>(instance: Model<any, any>, tableName: string, values: object, identifier: WhereOptions, options?: QueryOptions | undefined) => Bluebird<...>' is not assignable to type '<M extends Model>(instance: M, tableName: TableName, values: object, identifier: WhereOptions<Attributes<M>>, options?: QueryOptions | undefined) => Promise<...>'.
|
|
build (lts/*):
src/BaseModel.ts#L275
Type '(tableName: string, records: object[], options?: QueryOptions | undefined, attributes?: string | string[] | undefined) => Bluebird<object>' is not assignable to type '(tableName: TableName, records: object[], options?: QueryOptions | undefined, attributes?: Record<string, ModelAttributeColumnOptions<Model<any, any>>> | undefined) => Promise<...>'.
|
|
build (lts/*):
src/BaseModel.ts#L237
Property 'QueryGenerator' does not exist on type 'QueryInterface'.
|
|
build (lts/*):
src/BaseModel.ts#L114
Cannot find module 'sequelize/types/lib/query-types' or its corresponding type declarations.
|