[Config][Loader] missing type parameter on import

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | idontknow
| Fixed tickets | #7965 
| License       | MIT
| Doc PR        | -

$type was missing inside the import() resolver call.