Hacker News new | ask | show | jobs
by dhucerbin 1615 days ago
You can redefine all definitions from lib.d.ts and similar. In my projects, parse function returns unknown, so I need to parse/validate/decode it in runtime to satisfy types.