@types/codemirror
Advanced tools
Comparing version 5.60.9 to 5.60.10
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Editor { | ||
@@ -5,0 +5,0 @@ /** Tries to uncomment the current selection, and if that fails, line-comments it. */ |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -10,4 +10,4 @@ /** | ||
*/ | ||
continueComments?: boolean | string | { key: string, continueLineComment?: boolean | undefined } | undefined; | ||
continueComments?: boolean | string | { key: string; continueLineComment?: boolean | undefined } | undefined; | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import '../../'; | ||
import "../../"; | ||
@@ -28,9 +28,17 @@ export type DialogCloseFunction = () => void; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Editor { | ||
/** Provides a very simple way to query users for text input. */ | ||
openDialog(template: string | Node, callback: (value: string, e: Event) => void, options?: OpenDialogOptions): DialogCloseFunction; | ||
openNotification(template: string | Node, options?: OpenNotificationOptions): DialogCloseFunction; | ||
openConfirm(template: string | Node, callbacks: ReadonlyArray<(editor: Editor) => void>, options?: DialogOptions): DialogCloseFunction; | ||
openDialog( | ||
template: string | Node, | ||
callback: (value: string, e: Event) => void, | ||
options?: OpenDialogOptions, | ||
): DialogCloseFunction; | ||
openNotification(template: string | Node, options?: OpenNotificationOptions): DialogCloseFunction; | ||
openConfirm( | ||
template: string | Node, | ||
callbacks: ReadonlyArray<(editor: Editor) => void>, | ||
options?: DialogOptions, | ||
): DialogCloseFunction; | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -5,0 +5,0 @@ // if true, it will be refreshed the first time the editor becomes visible. |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Panel { | ||
@@ -19,3 +19,3 @@ /** Removes the panel from the editor */ | ||
*/ | ||
position?: 'top' | 'after-top' | 'bottom' | 'before-bottom' | undefined; | ||
position?: "top" | "after-top" | "bottom" | "before-bottom" | undefined; | ||
/** The new panel will be added before the given panel. */ | ||
@@ -22,0 +22,0 @@ before?: Panel | undefined; |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import '../../'; | ||
import "../../"; | ||
@@ -11,7 +11,7 @@ export interface Ruler { | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
/** show one or more vertical rulers in the editor. */ | ||
rulers?: false | ReadonlyArray<number | Ruler> | undefined; | ||
rulers?: false | ReadonlyArray<number | Ruler> | undefined; | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface AutoCloseBrackets { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface CommandActions { | ||
@@ -5,0 +5,0 @@ closeTag(cm: Editor): void; |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface CommandActions { | ||
@@ -5,0 +5,0 @@ newlineAndIndentContinueMarkdownList(cm: Editor): void | typeof Pass; |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface MatchBrackets { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface CommandActions { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,8 +0,8 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
/** when enabled, adds the CSS class cm-trailingspace to stretches of whitespace at the end of lines. */ | ||
showTrailingSpace?: boolean | undefined; | ||
showTrailingSpace?: boolean | undefined; | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import './foldcode'; | ||
import "./foldcode"; | ||
declare module './foldcode' { | ||
declare module "./foldcode" { | ||
interface FoldHelpers { | ||
@@ -5,0 +5,0 @@ brace: FoldRangeFinder; |
@@ -1,4 +0,4 @@ | ||
import './foldcode'; | ||
import "./foldcode"; | ||
declare module './foldcode' { | ||
declare module "./foldcode" { | ||
interface FoldHelpers { | ||
@@ -5,0 +5,0 @@ comment: FoldRangeFinder; |
// See docs https://codemirror.net/doc/manual.html#addon_foldcode | ||
import * as CodeMirror from '../../'; | ||
import * as CodeMirror from "../../"; | ||
@@ -12,3 +12,3 @@ export type FoldRangeFinder = (cm: CodeMirror.Editor, pos: CodeMirror.Position) => CodeMirror.FoldRange | undefined; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Editor { | ||
@@ -24,3 +24,3 @@ /** | ||
rangeFindeOrFoldOptions?: FoldRangeFinder | FoldOptions, | ||
force?: 'fold' | 'unfold', | ||
force?: "fold" | "unfold", | ||
) => void; | ||
@@ -27,0 +27,0 @@ isFolded(pos: Position): boolean | undefined; |
// See docs https://codemirror.net/doc/manual.html#addon_foldgutter | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import './foldcode'; | ||
import "./foldcode"; | ||
declare module './foldcode' { | ||
declare module "./foldcode" { | ||
interface FoldHelpers { | ||
@@ -5,0 +5,0 @@ indent: FoldRangeFinder; |
@@ -1,4 +0,4 @@ | ||
import './foldcode'; | ||
import "./foldcode"; | ||
declare module './foldcode' { | ||
declare module "./foldcode" { | ||
interface FoldHelpers { | ||
@@ -5,0 +5,0 @@ markdown: FoldRangeFinder; |
@@ -1,3 +0,3 @@ | ||
import * as CodeMirror from '../../'; | ||
import './foldcode'; | ||
import * as CodeMirror from "../../"; | ||
import "./foldcode"; | ||
@@ -10,3 +10,3 @@ export interface XmlTag { | ||
declare module './foldcode' { | ||
declare module "./foldcode" { | ||
interface FoldHelpers { | ||
@@ -17,8 +17,17 @@ xml: FoldRangeFinder; | ||
declare module '../../' { | ||
function findMatchingTag(cm: Editor, pos: Position, range: Range): {open: XmlTag, close: XmlTag | null | undefined, at: 'open' | 'close'} | undefined; | ||
declare module "../../" { | ||
function findMatchingTag( | ||
cm: Editor, | ||
pos: Position, | ||
range: Range, | ||
): { open: XmlTag; close: XmlTag | null | undefined; at: "open" | "close" } | undefined; | ||
function findEnclosingTag(cm: Editor, pos: Position, range: Range, tag: string): {open: XmlTag, close: XmlTag} | undefined; | ||
function findEnclosingTag( | ||
cm: Editor, | ||
pos: Position, | ||
range: Range, | ||
tag: string, | ||
): { open: XmlTag; close: XmlTag } | undefined; | ||
function scanForClosingTag(cm: Editor, pos: Position, name: string, end?: Position): XmlTag | null | undefined; | ||
} |
@@ -1,4 +0,4 @@ | ||
import './show-hint'; | ||
import "./show-hint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HintHelpers { | ||
@@ -5,0 +5,0 @@ anyword: HintFunction; |
@@ -1,4 +0,4 @@ | ||
import './show-hint'; | ||
import "./show-hint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HintHelpers { | ||
@@ -5,0 +5,0 @@ css: HintFunction; |
@@ -1,4 +0,4 @@ | ||
import './xml-hint'; | ||
import "./xml-hint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HintHelpers { | ||
@@ -5,0 +5,0 @@ html: HintFunction; |
@@ -1,4 +0,4 @@ | ||
import './show-hint'; | ||
import "./show-hint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HintHelpers { | ||
@@ -5,0 +5,0 @@ javascript: HintFunction; |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
/** | ||
@@ -16,3 +16,7 @@ * Provides a framework for showing autocompletion hints. Defines editor.showHint, which takes an optional | ||
function off<T extends keyof CompletionEventMap>(hints: Hints, eventName: T, handler: CompletionEventMap[T]): void; | ||
function signal<T extends keyof CompletionEventMap>(hints: Hints, eventName: T, ...args: Parameters<CompletionEventMap[T]>): void; | ||
function signal<T extends keyof CompletionEventMap>( | ||
hints: Hints, | ||
eventName: T, | ||
...args: Parameters<CompletionEventMap[T]> | ||
): void; | ||
@@ -85,3 +89,6 @@ interface CompletionEventMap { | ||
container?: HTMLElement | null | undefined; | ||
customKeys?: { [key: string]: ((editor: Editor, handle: CompletionHandle) => void) | string } | null | undefined; | ||
customKeys?: | ||
| { [key: string]: ((editor: Editor, handle: CompletionHandle) => void) | string } | ||
| null | ||
| undefined; | ||
extraKeys?: { [key: string]: ((editor: Editor, handle: CompletionHandle) => void) | string } | null | undefined; | ||
@@ -88,0 +95,0 @@ scrollMargin?: number | undefined; |
@@ -1,4 +0,4 @@ | ||
import './show-hint'; | ||
import "./show-hint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HintHelpers { | ||
@@ -13,3 +13,6 @@ sql: HintFunction; | ||
interface ShowHintOptions { | ||
tables?: ReadonlyArray<string | { text: string, columns: string[] }> | Record<string, string[] | { columns: string[] }> | undefined; | ||
tables?: | ||
| ReadonlyArray<string | { text: string; columns: string[] }> | ||
| Record<string, string[] | { columns: string[] }> | ||
| undefined; | ||
defaultTable?: string | undefined; | ||
@@ -16,0 +19,0 @@ disableKeywords?: boolean | undefined; |
@@ -1,4 +0,4 @@ | ||
import './show-hint'; | ||
import "./show-hint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HintHelpers { | ||
@@ -5,0 +5,0 @@ xml: HintFunction; |
@@ -1,4 +0,4 @@ | ||
import { Linter } from './lint'; | ||
import { Linter } from "./lint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
namespace lint { | ||
@@ -5,0 +5,0 @@ const coffeescript: Linter<{}>; |
@@ -1,4 +0,4 @@ | ||
import { Linter } from './lint'; | ||
import { Linter } from "./lint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
namespace lint { | ||
@@ -5,0 +5,0 @@ const css: Linter<any>; |
@@ -1,4 +0,4 @@ | ||
import { Linter } from './lint'; | ||
import { Linter } from "./lint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
namespace lint { | ||
@@ -5,0 +5,0 @@ const html: Linter<any>; |
@@ -1,4 +0,4 @@ | ||
import { Linter } from './lint'; | ||
import { Linter } from "./lint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
namespace lint { | ||
@@ -5,0 +5,0 @@ const javascript: Linter<any>; |
@@ -1,4 +0,4 @@ | ||
import { Linter } from './lint'; | ||
import { Linter } from "./lint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
namespace lint { | ||
@@ -5,0 +5,0 @@ const json: Linter<{}>; |
@@ -1,2 +0,2 @@ | ||
import * as CodeMirror from '../../'; | ||
import * as CodeMirror from "../../"; | ||
@@ -16,3 +16,7 @@ export interface BaseLintStateOptions<T> { | ||
/** callback after linter completes */ | ||
onUpdateLinting?(annotationsNotSorted: Annotation[], annotations: Annotation[], codeMirror: CodeMirror.Editor): void; | ||
onUpdateLinting?( | ||
annotationsNotSorted: Annotation[], | ||
annotations: Annotation[], | ||
codeMirror: CodeMirror.Editor, | ||
): void; | ||
@@ -26,3 +30,3 @@ /** | ||
/** controls display of lint tooltips */ | ||
tooltips?: boolean | 'gutter' | undefined; | ||
tooltips?: boolean | "gutter" | undefined; | ||
} | ||
@@ -46,3 +50,3 @@ | ||
*/ | ||
export interface Linter<T> { | ||
export interface Linter<T> { | ||
(content: string, options: T, codeMirror: CodeMirror.Editor): | ||
@@ -84,3 +88,3 @@ | Annotation[] | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Editor { | ||
@@ -87,0 +91,0 @@ performLint: () => void; |
@@ -1,4 +0,4 @@ | ||
import { Linter } from './lint'; | ||
import { Linter } from "./lint"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
namespace lint { | ||
@@ -5,0 +5,0 @@ const yaml: Linter<{}>; |
@@ -1,2 +0,2 @@ | ||
import * as CodeMirror from '../../'; | ||
import * as CodeMirror from "../../"; | ||
@@ -52,3 +52,3 @@ /** | ||
export interface MergeViewConstructor { | ||
new (element: HTMLElement, options?: MergeViewConfiguration): MergeView; | ||
new(element: HTMLElement, options?: MergeViewConfiguration): MergeView; | ||
(element: HTMLElement, options?: MergeViewConfiguration): MergeView; | ||
@@ -81,3 +81,8 @@ } | ||
*/ | ||
onCollapse?(mergeView: MergeView, line: number, size: number, mark: CodeMirror.TextMarker<CodeMirror.MarkerRange>): void; | ||
onCollapse?( | ||
mergeView: MergeView, | ||
line: number, | ||
size: number, | ||
mark: CodeMirror.TextMarker<CodeMirror.MarkerRange>, | ||
): void; | ||
@@ -106,11 +111,13 @@ /** | ||
revertChunk?: (( | ||
mv: MergeView, | ||
from: CodeMirror.Editor, | ||
fromStart: CodeMirror.Position, | ||
fromEnd: CodeMirror.Position, | ||
to: CodeMirror.Editor, | ||
toStart: CodeMirror.Position, | ||
toEnd: CodeMirror.Position | ||
) => void) | undefined; | ||
revertChunk?: | ||
| (( | ||
mv: MergeView, | ||
from: CodeMirror.Editor, | ||
fromStart: CodeMirror.Position, | ||
fromEnd: CodeMirror.Position, | ||
to: CodeMirror.Editor, | ||
toStart: CodeMirror.Position, | ||
toEnd: CodeMirror.Position, | ||
) => void) | ||
| undefined; | ||
@@ -123,3 +130,3 @@ /** | ||
declare module '../../' { | ||
declare module "../../" { | ||
const MergeView: MergeViewConstructor; | ||
@@ -126,0 +133,0 @@ |
@@ -1,2 +0,2 @@ | ||
import '../../'; | ||
import "../../"; | ||
@@ -8,3 +8,3 @@ export interface RequireModeOptions { | ||
declare module '../../' { | ||
declare module "../../" { | ||
let modeURL: string; | ||
@@ -11,0 +11,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as CodeMirror from '../../'; | ||
import * as CodeMirror from "../../"; | ||
@@ -12,3 +12,3 @@ export interface MultiplexedInnerMode { | ||
declare module '../../' { | ||
declare module "../../" { | ||
/** | ||
@@ -15,0 +15,0 @@ * Mode combinator that can be used to easily 'multiplex' between several modes. |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
/** | ||
@@ -5,0 +5,0 @@ * Mode combinator that can be used to extend a mode with an 'overlay' — a secondary mode is run over the stream, |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
// Based on https://codemirror.net/demo/simplemode.html | ||
@@ -25,4 +25,4 @@ interface Rule { | ||
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics | ||
mode: { [P in K]: P extends 'meta' ? Record<string, any> : Rule[] } & { start: Rule[] }, | ||
mode: { [P in K]: P extends "meta" ? Record<string, any> : Rule[] } & { start: Rule[] }, | ||
): void; | ||
} |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
/** | ||
@@ -5,0 +5,0 @@ * Provides a convenient way to syntax-highlight code snippets in a webpage. Depends on the runmode addon (or its standalone variant). |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
/** | ||
@@ -5,0 +5,0 @@ * Runs a CodeMirror mode over text without opening an editor instance. |
@@ -1,3 +0,3 @@ | ||
import * as CodeMirror from '../..'; | ||
import './searchcursor'; | ||
import * as CodeMirror from "../.."; | ||
import "./searchcursor"; | ||
@@ -9,3 +9,3 @@ export interface Annotation { | ||
*/ | ||
update(annotations: Array<{ from: CodeMirror.Position, to: CodeMirror.Position }>): void; | ||
update(annotations: Array<{ from: CodeMirror.Position; to: CodeMirror.Position }>): void; | ||
} | ||
@@ -19,3 +19,3 @@ | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Editor { | ||
@@ -22,0 +22,0 @@ annotateScrollbar(options: string | AnnotateScrollbarOptions): Annotation; |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface ScrollbarModels { | ||
@@ -5,0 +5,0 @@ simple: ScrollbarModelConstructor; |
@@ -1,5 +0,5 @@ | ||
import '../..'; | ||
import '../dialog/dialog'; | ||
import "../.."; | ||
import "../dialog/dialog"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface CommandActions { | ||
@@ -6,0 +6,0 @@ jumpToLine(cm: Editor): void; |
// See docs https://codemirror.net/doc/manual.html#addon_match-highlighter | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface HighlightSelectionMatches { | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import '../..'; | ||
import './searchcursor'; | ||
import "../.."; | ||
import "./searchcursor"; | ||
@@ -8,3 +8,3 @@ export interface SearchAnnotation { | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface Editor { | ||
@@ -11,0 +11,0 @@ showMatchesOnScrollbar(query: string | RegExp, caseFold?: boolean, className?: string): SearchAnnotation; |
@@ -1,6 +0,6 @@ | ||
import '../../'; | ||
import './searchcursor'; | ||
import '../dialog/dialog'; | ||
import "../../"; | ||
import "./searchcursor"; | ||
import "../dialog/dialog"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface CommandActions { | ||
@@ -7,0 +7,0 @@ find(cm: Editor): void; |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface DocOrEditor { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface StyleActiveLine { | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -9,4 +9,4 @@ /** | ||
*/ | ||
styleSelectedText?: boolean | string | undefined; | ||
styleSelectedText?: boolean | string | undefined; | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import '../../'; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface EditorConfiguration { | ||
@@ -9,4 +9,4 @@ /** | ||
*/ | ||
selectionPointer?: boolean | string | undefined; | ||
selectionPointer?: boolean | string | undefined; | ||
} | ||
} |
// See docs https://codemirror.net/doc/manual.html#addon_tern and https://codemirror.net/addon/tern/tern.js (comments in the beginning of the file) | ||
// Docs for tern itself might also be helpful: http://ternjs.net/doc/manual.html | ||
import * as Tern from 'tern'; | ||
import '../../'; | ||
import * as Tern from "tern"; | ||
import "../../"; | ||
declare module '../../' { | ||
declare module "../../" { | ||
class TernServer { | ||
@@ -43,6 +43,6 @@ constructor(options?: TernOptions); | ||
): void; | ||
request<Q extends Tern.Query['type']>( | ||
request<Q extends Tern.Query["type"]>( | ||
cm: Doc, | ||
query: Q, | ||
callback: (error?: Error, data?: Tern.QueryRegistry[Q]['result']) => void, | ||
callback: (error?: Error, data?: Tern.QueryRegistry[Q]["result"]) => void, | ||
pos?: Position, | ||
@@ -55,3 +55,3 @@ ): void; | ||
/** An object mapping plugin names to configuration options. */ | ||
plugins?: Tern.ConstructorOptions['plugins'] | undefined; | ||
plugins?: Tern.ConstructorOptions["plugins"] | undefined; | ||
/** An array of JSON definition data structures. */ | ||
@@ -58,0 +58,0 @@ defs?: Tern.Def[] | undefined; |
@@ -1,2 +0,2 @@ | ||
import '../../'; | ||
import "../../"; | ||
@@ -12,3 +12,3 @@ export interface HardwrapOptions { | ||
declare module '../../' { | ||
declare module "../../" { | ||
interface CommandActions { | ||
@@ -15,0 +15,0 @@ wrapLines(cm: Editor): void; |
@@ -1,2 +0,2 @@ | ||
import '../'; | ||
import "../"; | ||
@@ -13,3 +13,3 @@ export interface ModeInfo { | ||
declare module '../' { | ||
declare module "../" { | ||
const modeInfo: ModeInfo[]; | ||
@@ -16,0 +16,0 @@ function findModeByMIME(mime: string): ModeInfo | undefined; |
{ | ||
"name": "@types/codemirror", | ||
"version": "5.60.9", | ||
"version": "5.60.10", | ||
"description": "TypeScript definitions for codemirror", | ||
@@ -75,4 +75,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/codemirror", | ||
}, | ||
"typesPublisherContentHash": "d69afd1c871a3c7f8d8701100ad9f1e376bc10ae72b58a1d45ae9a62d404f4b2", | ||
"typesPublisherContentHash": "bfbab75253fb33fbbbe0cd124c03fbde6f9390c092a4b9d5cb61f8a9362525cc", | ||
"typeScriptVersion": "5.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 22 Aug 2023 18:04:15 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:40:56 GMT | ||
* Dependencies: [@types/tern](https://npmjs.com/package/@types/tern) | ||
@@ -14,0 +14,0 @@ * Global values: `CodeMirror` |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154946
3003