improve typescript and linting usage across codebase
add ts-lit-plugin and eslint-typescript disable no-invalid-css rule fix a bunch of errors raised by eslint and typescript run prettier & eslint on the remaining files remove unused imports split coll-index into index and info components... and rename "coll" -> "item" for these. also includes some fixes for previously-undocumented properties used on non-ts elements. extract labeled fields into separate component... and make a few type improvements too swap custom copy button for shoelace one rename a few more missed things
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
import { LitElement, html, css, unsafeCSS } from "lit";
|
||||
import { property, state } from "lit/decorators.js";
|
||||
import { property } from "lit/decorators.js";
|
||||
import { wrapCss, clickOnSpacebarPress } from "./misc";
|
||||
import ndjson from "fetch-ndjson";
|
||||
|
||||
@@ -61,7 +61,7 @@ class Pages extends LitElement {
|
||||
@property({ type: Boolean })
|
||||
changeNeeded = false;
|
||||
|
||||
@property({ type: Set })
|
||||
@property({ attribute: false })
|
||||
selectedPages = new Set();
|
||||
|
||||
@property({ type: Boolean })
|
||||
|
||||
Reference in New Issue
Block a user