Markus Johansson
11/21/2024, 2:30 PMManifestDashboard
with UmbExtensionManifest
but VS Code complains about some of the properties.
In "Screenshot 1" I'm just not explicitly typing the object to be a UmbExtensionManifest
but then it complains about element
, both VS Code and the TS compiler complain. Then if I add as UmbExtensionManifest
after the object everything works.
Has anyone else seen this? Can someone help me understand why? 🙂
https://cdn.discordapp.com/attachments/882984798719729704/1309164089280434186/extension_screenshot_1.png?ex=67409591&is=673f4411&hm=badeead7e3db24446a6836540ee660bc0ceb6eb7c8e049e5cbf733e8e1784d6d&
https://cdn.discordapp.com/attachments/882984798719729704/1309164089649659935/extension_screenshot_2.png?ex=67409592&is=673f4412&hm=94c1dfcc05d6f0e5d473bd5f517cc338b202d00c502deec5429d6efdc2db79b7&Markus Johansson
11/21/2024, 2:33 PMMarkus Johansson
11/21/2024, 2:36 PMtypescript
"types": [
"@umbraco-cms/backoffice/extension-types"
]
In the "root" of tsconfig.json
, while it should have been
typescript
{
"compilerOptions" : {
"types": [
"@umbraco-cms/backoffice/extension-types"
]
}
}
After that adjustment, it works like a charm...