### Godot version

4.0.2.stable

### System information

Ubuntu 22.10

### Issue description

This happens when converting a godot3 project to a godot4 project.
Godot3 source
```gdscript
extends Node2D

export(int) var integer := 2
export(Resource) var resource: Resource = null
```

Result
```gdscript
extends Node2D

@export var integer: int := 2
@export var resource: Resource: Resource = null
```

Expected result
```gdscript
extends Node2D

@export var integer := 2
@export var resource: Resource = null
```

If someone can point to where in the code this might be fixed maybe I can fix it myself, sounds like a good first issue.


### Steps to reproduce

Open the given project (or any project really) and convert it to a godot 4 project

### Minimal reproduction project

[Conversion Tool Typing Problem.zip](https://github.com/godotengine/godot/files/11185334/Conversion.Tool.Typing.Problem.zip)

bool valid = true;
	Vector<String> names = Vector<String>();
	for (unsigned int current_index = 0; p_array[current_index][0]; current_index++) {
		String name_3_x = p_array[current_index][0];
		String name_4_0 = p_array[current_index][1];
		if (name_3_x != name_3_x.strip_edges()) {
			ERR_PRINT(vformat("Invalid Entry \"%s\" contains leading or trailing spaces.", name_3_x));
			valid = false;
		}
		if (names.has(name_3_x)) {
			ERR_PRINT(vformat("Found duplicated entry, pair ( -> %s , %s)", name_3_x, name_4_0));
			valid = false;
		}
		names.append(name_3_x);
		if (name_4_0 != name_4_0.strip_edges()) {
			ERR_PRINT(vformat("Invalid Entry \"%s\" contains leading or trailing spaces.", name_3_x));
			valid = false;
		}
		if (names.has(name_4_0)) {
			ERR_PRINT(vformat("Found duplicated entry, pair ( -> %s , %s)", name_3_x, name_4_0));
			valid = false;
		}
		if (!p_ignore_4_0_name) {
			names.append(name_4_0);
		}
	}
	return valid;
};
Vector<String> ProjectConverter3To4::parse_arguments(const String &line) {