Порівняти коміти

..
Автор SHA1 Повідомлення Дата
l0ng-ai 711886e68d fix(vue): go to the ref and its component's members from this.$refs
Vue 2.7 types `$refs` as an index signature, so the TypeScript service sends
`this.$refs.child` to that signature in vue.d.ts and finds nothing for
`this.$refs.child.focusIt`.

Go to Declaration in a Vue SFC's script now reads the template instead:
`this.$refs.<name>` goes to the `ref="<name>"` attribute (the last one, as Vue
keeps), and a member read from a component's ref goes to that member in the
component's options (methods, computed, props, data() / setup() return). The
component comes from the default import its tag names; relative paths resolve
directly, aliases through the language service, then `@/` as `src/`. Anything
else still goes to the language servers.
2026-11-12 23:36:30 +08:00
3 змінених файлів з 3 додано та 11 видалено

No files matched your search

+1 -4
Переглянути файл
@@ -70,10 +70,7 @@ fn is_executable(path: &Path) -> bool {
metadata.permissions().mode() & 0o111 != 0
}
#[cfg(not(unix))]
{
let _ = &metadata;
true
}
true
}
/// [`search_path`]'s directories, in order and once each. Only absolute ones: a
+1 -4
Переглянути файл
@@ -467,10 +467,7 @@ fn is_executable(p: &Path) -> bool {
meta.permissions().mode() & 0o111 != 0
}
#[cfg(not(unix))]
{
let _ = &meta;
true
}
true
}
/// blake3 of a file, hex.
+1 -3
Переглянути файл
@@ -179,9 +179,7 @@ it("lists the plugin's declared secrets on its settings page", async () => {
list: async () => ({
plugins: [{ id: "example.helper" } as never],
activeTheme: null,
ui: [
{ pluginId: "example.helper", point: "secrets", key: "api-key", decl: { name: "api-key", label: "API key" } },
],
ui: [{ pluginId: "example.helper", point: "secrets", key: "api-key", decl: { name: "api-key", label: "API key" } }],
}),
});
const { refreshPlugins } = await import("../store");