### Godot version

9f12e7b52d944

### System information

arch linux

### Issue description

Attempting to edit from the editor a typed array exported from a tool script fails, any value is immediately reset, setters are never called.

### Steps to reproduce

Create a script such as follows and try to add and then change items of the array in the inspector.


```gdscript
@tool
extends Node

@export var x: Array[String]
```

### Minimal reproduction project

n/a
array.push_back(other);
			} else {
				array.set(index, other);
			}
			dnp.base->set(base_property, array);
		} else {
			dnp.base->set(dnp.property, other);
		}
	}
	for (KeyValue<Ref<Resource>, Ref<Resource>> &E : resources_local_to_scene) {
		if (E.value->get_local_scene() == ret_nodes[0]) {
			E.value->setup_local_to_scene();
		}
	}
	
	int cc = connections.size();
	const ConnectionData *cdata = connections.ptr();
	for (int i = 0; i < cc; i++) {
		const ConnectionData &c = cdata[i];
		
		
		NODE_FROM_ID(cfrom, c.from);
		NODE_FROM_ID(cto, c.to);
		if (!cfrom || !cto) {
			continue;
		}
		Callable callable(cto, snames[c.method]);
		if (c.unbinds > 0) {
			callable = callable.unbind(c.unbinds);
		} else if (!c.binds.is_empty()) {