Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
szk0u opened this issue Jan 4, 2019 · 0 comments

Comments

@szk0u
Copy link

szk0u commented Jan 4, 2019

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がなぜか表示されていません。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant