Use type annotation in declarations emitter

If user specified type annotation exists in the typescript file, use that instead of inferring the name from the symbol