mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-26 03:24:18 +00:00
Simplify tsconfig white/black lists
This commit is contained in:
parent
943b3284f9
commit
f8ecb3965a
3 changed files with 4 additions and 15 deletions
|
|
@ -20,7 +20,7 @@ function presetNameFromURL(url: string) {
|
|||
}
|
||||
}
|
||||
|
||||
async function loadButterchurnPresetMapURL(url) {
|
||||
async function loadButterchurnPresetMapURL(url: string) {
|
||||
const resp = await fetch(url);
|
||||
const namesToPresetUrls = await resp.json();
|
||||
return Object.keys(namesToPresetUrls).map((name: string) => {
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ export default function() {
|
|||
const sortDecending = (a, b) => (b[sortKey] < a[sortKey] ? 1 : -1);
|
||||
const sortFunction = sortDirection === "ASC" ? sortAscending : sortDecending;
|
||||
|
||||
let filterFunction: (string) => boolean = () => true;
|
||||
let filterFunction = () => true;
|
||||
if (searchQuery) {
|
||||
const normalizedQuery = searchQuery.toLowerCase();
|
||||
|
||||
|
|
@ -12,17 +12,6 @@
|
|||
"noEmit": true,
|
||||
"pretty": true
|
||||
},
|
||||
"include": [
|
||||
"js/**/*.js",
|
||||
"js/**/*.ts",
|
||||
"js/**/*.tsx",
|
||||
"modern/**/*.ts",
|
||||
"modern/**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.spec.ts",
|
||||
"demo/built",
|
||||
"modern/src/Dashboard.tsx"
|
||||
]
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules", "demo/built"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue