Declared types are wrongly considered as relavant statements

declare const foo: () => void;

Should not emit any relevant statement.