In the config file the originWhitelist array is documented as possibly empty. This means that typescript has to infer the type from [] which causes a compilation failure.
Details
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABC0edc15f825e9: [faucet] Help typescript to infer the type of an empty array
Empty the array and run npm run build.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- faucet_type_infer
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 30537 Build 60590: Build Diff Build 60589: arc lint + arc unit
Event Timeline
Comment Actions
possibly overkill for this app, but you can see how config.ts defines an interface in token-server to handle this