TS: Missed case of forward type declaration in get type declaration utility function.
Merge branch 'typesystem' of github.com:Caltoopia/caltoopia into typesystem