Skip to content

[path parameter] interface ... extends ... が利用できない #111

@LumaKernel

Description

@LumaKernel
export interface Query {
  id: number
}

(上の例はいずれにせよ ParsedUrlQueryInput に代入不可と言われてしまう)

import { ParsedUrlQueryInput } from 'querystring'

export interface Query extends ParsedUrlQueryInput {
  id: number
}

利用できても良いかな、ぐらいに思った。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions