acl-services / acl-services/paprika

ListBox: typings don't work for ListBox.types

オープン
#986 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
Low Priority ↓
主要言語
JavaScript
スター
54
フォーク
10
平均マージ
1日 12時間
マージ済み PR(30日)
6

説明

# Bug Report

## Expected behavior
I want to be able to refer to `ListBox.types` in TypeScript code.

## Current behavior
I'm getting a tsc error
```
Property 'types' does not exist on type 'typeof ListBox'. ts(2339)
```

## Screenshots / Gifs / Codepens
![image](https://user-images.githubusercontent.com/93752/112401489-dd0e1400-8cc7-11eb-84f8-31cf0b15e407.png)

## Additional context
It starts working when I rename this to `ListBox`:
https://github.com/acl-services/paprika/blob/992fb921d680b4ddcd028f867791df0cf334cca1/packages/ListBox/src/index.d.ts#L190

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。