Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBoyle committed Dec 28, 2024
1 parent d14ad90 commit 6b87c04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/jsx-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { isInStreamingContext } from "./stream";
export namespace JSX {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type ElementType = (props: any) => Promise<unknown>;
// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-unused-vars
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
// interface IntrinsicElements {}
export type Element = Promise<unknown>;
export interface ElementChildrenAttribute {
Expand Down
2 changes: 0 additions & 2 deletions src/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ export function isStreamComponent(
export async function Stream<T>(props: {
children: Element;
}): Promise<T | Streamable<T>> {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const prevIsStreaming = isInStreamingContext();
setStreamingContext(true);

try {
Expand Down

0 comments on commit 6b87c04

Please sign in to comment.