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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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