You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vitepress/shared-globals.d.ts

14 lines
450 B

// Cross-environment globals that environment-neutral code may use, declared
// merge-compatibly with lib.dom and @types/node (interface merging plus an
// identically named var). Loaded only by projects without a DOM lib; keep
// members to what shared code actually touches.
interface Console {
debug(...data: unknown[]): void
warn(...data: unknown[]): void
}
declare var console: Console
interface Document {}
declare var document: Document