diff --git a/package.json b/package.json index 2179ca6..566fa5f 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "license": "MIT", "main": "dist/desktop/extension.js", "browser": "dist/browser/extension.js", + "types": "dist/desktop/extension.d.ts", "repository": "https://github.com/eclipse-cdt-cloud/vscode-svd-viewer", "qna": "https://github.com/eclipse-cdt-cloud/vscode-svd-viewer/issues", "icon": "media/cdtcloud.png", diff --git a/src/api.ts b/src/api.ts index 990da85..d53ef69 100644 --- a/src/api.ts +++ b/src/api.ts @@ -1,4 +1,3 @@ - // SVD Viewer API export interface SVDViewerAPI { registerSVDFile: (expression: RegExp | string, path: string) => void; @@ -38,7 +37,6 @@ export interface PeripheralRegisterOptions { fields?: FieldOptions[]; } - export interface ClusterOptions { name: string; description?: string;