Skip to content

インタフェースの先頭に定義されたインデックスシグネチャが表示されない #34

Open

Description

@szk0u

Index Signaturesのすべてのメンバはstringインデックスシグネチャに従わなければならないのコード例が元ファイル(docs/types/index-signatures.md)上では

/** Okay */
interface Foo {
  [key:string]: number
  x: number;
  y: number;
}

となっていて正しいと思われますが、typescript-jp.gitbook.ioでの表示上は

/** Okay */
interface Foo {
  x: number;
  y: number;
}

という表示になっており、元ファイル(docs/types/index-signatures.md)上には存在する[key:string]: numberがなぜか表示されていません。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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