Fix JSDoc type annotations after module conversion

Update @param {import('./app.js').App} references to plain {App}
since ES module imports are no longer used.
This commit is contained in:
2026-04-15 00:00:00 +01:00
parent fca177c384
commit f950be0e48
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const { createElement, escapeHtml, fuzzyMatch, $ } = window.NexusTerminal;
class CommandPalette {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;
+1 -1
View File
@@ -55,7 +55,7 @@ const DEFAULTS = {
class ProfileEditor {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;
+1 -1
View File
@@ -14,7 +14,7 @@ const MAX_BUFFER_ENTRIES = 5000;
class RawViewer {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;
+1 -1
View File
@@ -8,7 +8,7 @@ const { createElement, escapeHtml } = window.NexusTerminal;
class SecretPrompt {
constructor(app) {
/** @type {import('./app.js').App} */
/** @type {App} */
this.app = app;
/** @type {HTMLElement|null} Currently open overlay. */
+1 -1
View File
@@ -17,7 +17,7 @@ const TABS = [
class Settings {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;
+1 -1
View File
@@ -11,7 +11,7 @@ const RECENT_LIMIT = 5;
class Sidebar {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;
+1 -1
View File
@@ -8,7 +8,7 @@ const { createElement, escapeHtml, protocolColour, stateLabel, dismissContextMen
class TabManager {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;
+1 -1
View File
@@ -8,7 +8,7 @@
class TerminalManager {
/**
* @param {import('./app.js').App} app
* @param {App} app
*/
constructor(app) {
this.app = app;