Anton Gilgur ad29112a5f
refactor: split out an addDeclaration func (#392)
- DRY it up and follow the same pattern as `typecheckFile`
- this also standardizes some things like normalization etc so that they're harder to miss
2022-08-08 13:18:14 -06:00
..
2018-02-08 11:15:26 -07:00