Skip to content

Commit

Permalink
build: fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Jul 23, 2024
1 parent 7f45f19 commit d637651
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/lib/ui/safeMode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { settings } from "@lib/settings";
import { lazyDestructure } from "@lib/utils/lazy";
import { ButtonColors } from "@lib/utils/types";
import { Button, CompatButton, SafeAreaView } from "@metro/common/components";
import { _lazyContextSymbol, LazyModuleContext } from "@metro/lazy";
import { _lazyContextSymbol } from "@metro/lazy";
import { LazyModuleContext } from "@metro/types";
import { findByNameLazy, findByProps } from "@metro/utils";
import { semanticColors } from "@ui/color";
import { Codeblock, ErrorBoundary as _ErrorBoundary } from "@ui/components";
Expand Down
4 changes: 3 additions & 1 deletion src/metro/lazy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { findExports } from "./finders";
import { metroModules, subscribeModule } from "./modules";
import type { FilterFn, LazyModuleContext } from "./types";

const _lazyContextSymbol = Symbol.for("bunny.metro.lazyContext");
/** @internal */
export const _lazyContextSymbol = Symbol.for("bunny.metro.lazyContext");

const _lazyContexts = new WeakMap<any, LazyModuleContext>();

function getIndexedFind<A extends unknown[]>(filter: FilterFn<A>) {
Expand Down
2 changes: 0 additions & 2 deletions src/modules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ declare module "*.png" {
const str: string;
export default str;
}

export * from "bunny-build-info";
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// Just to discourage from consuming the module directly
"spitroast": ["./shims/emptyModule"],

"bunny-build-info": ["./src/modules.d.ts"],

"@core/*": ["./src/core/*"],
"@lib": ["./src/lib"],
"@lib/*": ["./src/lib/*"],
Expand Down

0 comments on commit d637651

Please sign in to comment.