ci: Update most of the dev tooling (no-changelog) (#6780)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-07-28 13:55:16 +02:00
committed by GitHub
parent d2bbdaa58a
commit 7461085408
43 changed files with 3275 additions and 3280 deletions

View File

@@ -4,7 +4,7 @@ import { StateField, StateEffect } from '@codemirror/state';
import { tags } from '@lezer/highlight';
import { syntaxHighlighting, HighlightStyle } from '@codemirror/language';
import type { ColoringStateEffect, Plaintext, Resolvable, Resolved } from '@/types/expressions';
import type { ColoringStateEffect, Plaintext, Resolvable } from '@/types/expressions';
const cssClasses = {
validResolvable: 'cm-valid-resolvable',
@@ -80,7 +80,7 @@ const coloringStateField = StateField.define<DecorationSet>({
},
});
function addColor(view: EditorView, segments: Array<Resolvable | Resolved>) {
function addColor(view: EditorView, segments: Resolvable[]) {
const effects: Array<StateEffect<unknown>> = segments.map(({ from, to, kind, error }) =>
coloringStateEffects.addColorEffect.of({ from, to, kind, error }),
);