8000 Type definition problem · Issue #125 · datavjs/sql-bricks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Type definition problem #125
Open
Open
@kayvaninvemo

Description

@kayvaninvemo

I am not sure how to get Type Definition file. Here is one type definition, which is not published on npm. And there is and inconsistent type definition in definitely typed repo.

In this repo

  interface DeleteStatement extends Statement {
    from(...tbls: string[]): DeleteStatement
    using(...columnList: string[]): DeleteStatement
    using(columnList: string[]): DeleteStatement
    where(column?: string | null, value?: any): DeleteStatement
    where(...whereExpr: WhereExp
565A
ression[]): DeleteStatement
    and(column?: string | null, value?: any): DeleteStatement
    and(...whereExpr: WhereExpression[]): DeleteStatement
  }

here is the code from DefinitelyTyped

  interface DeleteStatement extends Statement {
    from(...tbls: string[]): DeleteStatement
    using(...columnList: string[]): SelectStatement
    using(columnList: string[]): SelectStatement
    where(column?: string | null, value?: any): SelectStatement
    where(...whereExpr: WhereExpression[]): SelectStatement
    and(column?: string | null, value?: any): SelectStatement
    and(...whereExpr: WhereExpression[]): SelectStatement
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0