Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
joshamaju committed Nov 2, 2024
1 parent 05473ad commit 92af4b4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions integrations/island/src/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ type Attributes = Record<string, string | boolean>;

type Block = { content: string; attributes: Attributes };

type Slot = {
end: number;
start: number;
name?: string;
};

type Loc = { start: number; end: number };

type Slot = Loc & { name?: string };

const makeAttrs = (attrs: Attributes) => {
return Object.entries(attrs).map(([k, v]) =>
typeof v == "boolean" ? `${k}` : `${k}="${v}"`
Expand Down

0 comments on commit 92af4b4

Please sign in to comment.