Skip to content

Commit 6be8c34

Browse files
committed
fix: fix types
1 parent d8334b4 commit 6be8c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/ExtensionRunner.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class ExtensionRunner {
102102
ExtensionRunner.downloadFile(payload.fileName, payload.fileType, payload.fileContent);
103103
}
104104

105-
private _handleFeedback(payload: { message: string; type: string; }) {
105+
private _handleFeedback(payload: { message: string; type: 'warning' | 'success' | 'error' | 'info'; }) {
106106
if (!payload) return;
107107

108108
ExtensionRunner.feedback(payload.message, payload.type);

0 commit comments

Comments
 (0)