forked from MapComplete/MapComplete
chore: automatic fix some linting errors, update lint config
This commit is contained in:
parent
04c8ccb0d2
commit
804280511b
26 changed files with 47 additions and 45 deletions
|
|
@ -156,7 +156,7 @@ export default class Hotkeys {
|
|||
}
|
||||
const contents: string[][] = this.prepareDocumentation(docs).map(
|
||||
([key, doc, alsoTriggeredBy]) => {
|
||||
let keyEl: string = [key, ...(alsoTriggeredBy ?? [])]
|
||||
const keyEl: string = [key, ...(alsoTriggeredBy ?? [])]
|
||||
.map((k) => "`" + t(k) + "`")
|
||||
.join(" ")
|
||||
return [keyEl, t(doc)]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
* Show the button, even though we are logged in
|
||||
*/
|
||||
export let forceShow: boolean = false
|
||||
export let msg: String = undefined
|
||||
export let msg: string = undefined
|
||||
if (osmConnection === undefined) {
|
||||
console.error("No osmConnection passed into loginButton")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue