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:
@@ -8,7 +8,7 @@ const { createElement, escapeHtml, fuzzyMatch, $ } = window.NexusTerminal;
|
|||||||
|
|
||||||
class CommandPalette {
|
class CommandPalette {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ const DEFAULTS = {
|
|||||||
|
|
||||||
class ProfileEditor {
|
class ProfileEditor {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ const MAX_BUFFER_ENTRIES = 5000;
|
|||||||
|
|
||||||
class RawViewer {
|
class RawViewer {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const { createElement, escapeHtml } = window.NexusTerminal;
|
|||||||
|
|
||||||
class SecretPrompt {
|
class SecretPrompt {
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
/** @type {import('./app.js').App} */
|
/** @type {App} */
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|
||||||
/** @type {HTMLElement|null} Currently open overlay. */
|
/** @type {HTMLElement|null} Currently open overlay. */
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const TABS = [
|
|||||||
|
|
||||||
class Settings {
|
class Settings {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const RECENT_LIMIT = 5;
|
|||||||
|
|
||||||
class Sidebar {
|
class Sidebar {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const { createElement, escapeHtml, protocolColour, stateLabel, dismissContextMen
|
|||||||
|
|
||||||
class TabManager {
|
class TabManager {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
class TerminalManager {
|
class TerminalManager {
|
||||||
/**
|
/**
|
||||||
* @param {import('./app.js').App} app
|
* @param {App} app
|
||||||
*/
|
*/
|
||||||
constructor(app) {
|
constructor(app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
|
|||||||
Reference in New Issue
Block a user