Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Browser from "./build/types.js";
import type * as Browser from "./build/types.d.ts";
import { promises as fs } from "fs";
import { merge, resolveExposure, arrayToMap } from "./build/helpers.js";
import { type CompilerBehavior, emitWebIdl } from "./build/emitter.js";
Expand Down
2 changes: 1 addition & 1 deletion src/build/bcd.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Browser from "./types.js";
import type * as Browser from "./types.d.ts";
import {
CompatStatement,
SimpleSupportStatement,
Expand Down
2 changes: 1 addition & 1 deletion src/build/bcd/mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
SimpleSupportStatement,
} from "bcd-idl-mapper";
import api from "bcd-idl-mapper";
import * as Browser from "../types.js";
import type * as Browser from "../types.d.ts";
import { filterMapRecord, isEmptyRecord } from "../utils/record.js";
import { mapDefined } from "../helpers.js";
import { hasStableImplementation } from "./stable.js";
Expand Down
2 changes: 1 addition & 1 deletion src/build/emitter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Browser from "./types.js";
import type * as Browser from "./types.d.ts";
import {
mapToArray,
distinct,
Expand Down
2 changes: 1 addition & 1 deletion src/build/expose.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Browser from "./types.js";
import type * as Browser from "./types.d.ts";
import {
getEmptyWebIDL,
deepFilter,
Expand Down
2 changes: 1 addition & 1 deletion src/build/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Browser from "./types.js";
import type * as Browser from "./types.d.ts";

// Extended types used but not defined in the spec
export const arrayBufferViewTypes = new Set([
Expand Down
2 changes: 1 addition & 1 deletion src/build/legacy-namespace.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Browser from "./types.js";
import type * as Browser from "./types.d.ts";
import { mapToArray, arrayToMap } from "./helpers.js";

export function collectLegacyNamespaceTypes(
Expand Down
2 changes: 1 addition & 1 deletion src/build/patches.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parse, type Value, type Node } from "kdljs";
import type { Enum, Event, Property, Interface, WebIdl } from "./types.js";
import type { Enum, Event, Property, Interface, WebIdl } from "./types.d.ts";
import { readdir, readFile } from "fs/promises";
import { merge } from "./helpers.js";

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/build/webref/elements.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { listAll, Element as WebrefElement } from "@webref/elements";
import { Interface, WebIdl } from "../types.js";
import type { Interface, WebIdl } from "../types.d.ts";
import { addToArrayMap } from "../utils/map.js";

async function getInterfaceToElementMap(): Promise<
Expand Down
2 changes: 1 addition & 1 deletion src/build/widlprocess.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as webidl2 from "webidl2";
import * as Browser from "./types.js";
import type * as Browser from "./types.d.ts";
import { getEmptyWebIDL } from "./helpers.js";

export function convert(text: string, commentMap: Record<string, string>) {
Expand Down