diff --git a/demo/js/butterchurnOptions.ts b/demo/js/butterchurnOptions.ts index ac10e999..602a70b5 100644 --- a/demo/js/butterchurnOptions.ts +++ b/demo/js/butterchurnOptions.ts @@ -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) => { diff --git a/modern/src/Dashboard.tsx b/modern/src/Dashboard.js similarity index 98% rename from modern/src/Dashboard.tsx rename to modern/src/Dashboard.js index 65cf7a2f..1ee97803 100644 --- a/modern/src/Dashboard.tsx +++ b/modern/src/Dashboard.js @@ -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(); diff --git a/tsconfig.json b/tsconfig.json index 8dda04ee..a7279681 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"] }