Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/oxlint/src-js/globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ declare const DEBUG: boolean;

// `true` if is build for conformance testing
declare const CONFORMANCE: boolean;

// `RegExp.escape` is not yet in TypeScript's lib types (available from ES2025).
// TODO: Remove this once TypeScript ships it.
interface RegExpConstructor {
escape(this: void, str: string): string;
}
Loading