Limit statements inside declare module to declare var/function/class