Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey authored and github-actions[bot] committed Feb 10, 2023
1 parent 8b08092 commit ebe98b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
5 changes: 4 additions & 1 deletion packages/babel-utils/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ export interface TagDefinition {
export interface TaglibLookup {
getTagsSorted(): TagDefinition[];
getTag(tagName: string): undefined | TagDefinition;
getAttribute(tagName: string, attrName: string): undefined | AttributeDefinition;
getAttribute(
tagName: string,
attrName: string
): undefined | AttributeDefinition;
forEachAttribute(
tagName: string,
callback: (attr: AttributeDefinition, tag: TagDefinition) => void
Expand Down
11 changes: 6 additions & 5 deletions packages/marko/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare module "*.marko" {

declare namespace NodeJS {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface ReadableStream { }
interface ReadableStream {}
}

declare namespace Marko {
Expand Down Expand Up @@ -75,13 +75,13 @@ declare namespace Marko {
in Params extends readonly any[] = [],
// eslint-disable-next-line @typescript-eslint/no-unused-vars
out Return = void
> { }
> {}

/** Valid data types which can be passed in as a <${dynamic}/> tag name. */
export type DynamicTagName =
| {
renderBody?: Body<any, any> | Template | string | void | false;
}
renderBody?: Body<any, any> | Template | string | void | false;
}
| Body<any, any>
| Template
| string
Expand All @@ -100,7 +100,8 @@ declare namespace Marko {

export abstract class Component<
Input extends Record<PropertyKey, any> = Record<PropertyKey, any>
> implements Emitter {
> implements Emitter
{
/** A unique id for this instance. */
public readonly id: string;
/** The top level element rendered by this instance. */
Expand Down

0 comments on commit ebe98b1

Please # to comment.