Only allow type declarations and value declarations in let bindings