Skip to content

Commit d5d027a

Browse files
committed
migration path II
1 parent 0929e5d commit d5d027a

22 files changed

+17
-36
lines changed

actionHandling/handler/FileProtocolUrlAddUrlToTabsetHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class FileProtocolUrlAddUrlToTabsetHandler implements AddUrlToTabsetHandl
3636
console.log("hier")
3737
if ('showOpenFilePicker' in self) {
3838
console.log("da")
39-
// @ts-expect-error
39+
// @ts-expect-error TODO
4040
const fileHandle = await window.showOpenFilePicker();
4141
console.log(fileHandle)
4242
}

actionHandling/handler/TtlUrlAddUrlToTabsetHandler.ts_

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {Tab} from "src/tabsets/models/Tab";
55
import {AddUrlToTabsetHandler, ButtonActions} from "src/tabsets/actionHandling/AddUrlToTabsetHandler";
66
import {ActionContext} from "src/tabsets/actionHandling/model/ActionContext";
77
import AddRssFeedDialog from "src/tabsets/dialogues/actions/AddRssFeedDialog.vue";
8-
// @ts-expect-error
8+
// @ts-expect-error TODO
99
import N3 from "n3/browser/n3.min"
1010

1111
export class TtlUrlAddUrlToTabsetHandler implements AddUrlToTabsetHandler {

dialogues/AddUrlDialog.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const url = ref<string>(props.providedUrl)
5757
5858
const {normalize} = useUtils()
5959
60-
// @ts-expect-error
6160
const {dialogRef, onDialogHide, onDialogOK, onDialogCancel} = useDialogPluginComponent()
6261
6362
const newTabsetName = ref('')

dialogues/EditUrlDialog.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const props = defineProps({
8888
tab: {type: Object as PropType<Tab>, required: true}
8989
})
9090
91-
// @ts-expect-error
9291
const {dialogRef, onDialogHide, onDialogCancel} = useDialogPluginComponent()
9392
9493
const newTabUrl = ref(props.tab.url || '')

dialogues/ExportDialog.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const hideWarning = ref(false)
5757
const warning = ref('')
5858
5959
60-
// @ts-expect-error
6160
const props = defineProps({
6261
inSidePanel: {type: Boolean, default: false}
6362
})
@@ -72,7 +71,6 @@ watchEffect(() => {
7271
7372
const exportData = () => {
7473
hideWarning.value = true
75-
// @ts-expect-error
7674
const appVersion = import.meta.env.PACKAGE_VERSION
7775
TabsetService.exportData(exportAs.value, appVersion)
7876
.then(() => {

dialogues/ImportDialog.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,17 @@ const {sendMsg} = useUtils()
5757
const importFrom = ref('json')
5858
const showGithubChoice = ref(false)
5959
60-
// @ts-expect-error
6160
const props = defineProps({
6261
inSidePanel: {type: Boolean, default: false}
6362
})
6463
6564
const importData = async () => {
6665
if (importFrom.value === "json") {
67-
// @ts-expect-error
66+
// @ts-expect-error TODO
6867
const file = document.getElementById("json2import").files[0];
6968
const reader = new FileReader();
7069
reader.onload = function (e) {
71-
// @ts-expect-error
70+
// @ts-expect-error TODO
7271
const json = e.target.result
7372
useCommandExecutor().executeFromUi(new ImportTabsetsCommand(json as unknown as string))
7473
.then(() => {

dialogues/NewSubfolderDialogBody.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ import {useTabsStore2} from "src/tabsets/stores/tabsStore2";
6363
import _ from "lodash";
6464
import {Tab} from "src/tabsets/models/Tab";
6565
66-
// @ts-expect-error
6766
const {dialogRef, onDialogHide, onDialogCancel} = useDialogPluginComponent()
6867
const {inBexMode} = useUtils()
6968

dialogues/RenameSubfolderDialog.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ const props = defineProps({
4848
name: {type: String, default: ''}
4949
})
5050
51-
// @ts-expect-error
5251
const {dialogRef, onDialogOK, onDialogHide, onDialogCancel} = useDialogPluginComponent()
5352
5453
const newSubfolderName = ref(props.name)

dialogues/helper/NewTabsetDialogBody.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ import {useTabsetsStore} from "src/tabsets/stores/tabsetsStore";
111111
import {useFeaturesStore} from "src/features/stores/featuresStore";
112112
import {SidePanelViews} from "src/app/models/SidePanelViews";
113113
114-
// @ts-expect-error
115114
const {dialogRef, onDialogHide, onDialogCancel} = useDialogPluginComponent()
116115
const {inBexMode} = useUtils()
117116

layouts/PageForTabset.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@ watchEffect(() => {
4444
useTabsetsStore().selectCurrentTabset(tabsetId.value)
4545
4646
if (tabset.value && !editorJS2) { // && !editorJS2.isReady) {
47-
// @ts-expect-error
4847
editorJS2 = new EditorJS({
4948
holder: "editorjs",
5049
autofocus: true,
5150
readOnly: false,
5251
data: (tabset.value.page || {}) as OutputData,
53-
// @ts-expect-error
52+
// @ts-expect-error TODO
5453
tools: EditorJsConfig.toolsconfig
5554
});
5655
}

0 commit comments

Comments
 (0)