feat: add typed WRN declarations

This commit is contained in:
2026-07-19 18:44:27 +05:30
parent 0d3ec79ee4
commit 94ae40d8bd
81 changed files with 942 additions and 241 deletions
+12 -2
View File
@@ -15,6 +15,7 @@ const VALID_MEMBERS = {
page: new Set([
"layout",
"state",
"types",
"view",
"seo",
"style",
@@ -25,9 +26,18 @@ const VALID_MEMBERS = {
"realtime",
]),
component: new Set(["props", "state", "view", "style", "functions", "lifecycle", "watch"]),
component: new Set([
"types",
"props",
"state",
"view",
"style",
"functions",
"lifecycle",
"watch",
]),
layout: new Set(["props", "state", "view", "style", "functions", "lifecycle", "watch"]),
layout: new Set(["types", "props", "state", "view", "style", "functions", "lifecycle", "watch"]),
};
function createDiagnostic(