* fix(typescript): add failing ambient declaration test * fix(typescript): fix failing test case for ambient function exports