Skip to content

Commit

Permalink
Fix additional lints
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed May 2, 2023
1 parent 665f44a commit f33878f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/@glimmer/interfaces/lib/runtime/element.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Reference } from '@glimmer/interfaces';
import { Option } from '../core';
import { Reference } from '../references';

export interface ElementOperations {
setAttribute(name: string, value: Reference, trusting: boolean, namespace: Option<string>): void;
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/interfaces/lib/runtime/helper.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// eslint-disable-next-line node/no-extraneous-import
import { Reference } from '@glimmer/interfaces';
import { Reference } from '../references';
import { CapturedArguments } from './arguments';
import { Owner } from './owner';
import { DynamicScope } from './scope';
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/interfaces/lib/runtime/scope.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { CompilableBlock } from '../template';
// eslint-disable-next-line node/no-extraneous-import
import { Reference } from '@glimmer/interfaces';
import { Option, Dict } from '../core';
import { BlockSymbolTable } from '../tier1/symbol-table';
import { Owner } from './owner';
import { Reference } from '../references';

export type Block = CompilableBlock | number;

Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/lib/helpers/array.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CapturedArguments } from '@glimmer/interfaces';
import { createComputeRef, Reference } from '@glimmer/reference';
import { reifyPositional } from '@glimmer/runtime';
import { internalHelper } from './internal-helper';
import { reifyPositional } from '../vm/arguments';

/**
Use the `{{array}}` helper to create an array to pass as an option to your
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/lib/helpers/concat.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CapturedArguments } from '@glimmer/interfaces';
import { createComputeRef } from '@glimmer/reference';
import { reifyPositional } from '@glimmer/runtime';
import { internalHelper } from './internal-helper';
import { reifyPositional } from '../vm/arguments';

const isEmpty = (value: unknown): boolean => {
return value === null || value === undefined || typeof (value as object).toString !== 'function';
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/lib/helpers/fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
updateRef,
valueForRef,
} from '@glimmer/reference';
import { reifyPositional } from '@glimmer/runtime';
import { buildUntouchableThis } from '@glimmer/util';
import { internalHelper } from './internal-helper';
import { reifyPositional } from '../vm/arguments';

const context = buildUntouchableThis('`fn` helper');

Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/lib/helpers/hash.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { CapturedArguments, Dict } from '@glimmer/interfaces';
import { createComputeRef, Reference } from '@glimmer/reference';
import { reifyNamed } from '@glimmer/runtime';
import { deprecate } from '@glimmer/global-context';
import { HAS_NATIVE_PROXY } from '@glimmer/util';
import { internalHelper } from './internal-helper';
import { DEBUG } from '@glimmer/env';
import { reifyNamed } from '../vm/arguments';

let wrapHashProxy: (hash: Record<string, unknown>) => Record<string, unknown>;

Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/lib/modifiers/on.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { DEBUG } from '@glimmer/env';
import { CapturedArguments, InternalModifierManager, Owner } from '@glimmer/interfaces';
import { setInternalModifierManager } from '@glimmer/manager';
import { valueForRef } from '@glimmer/reference';
import { reifyNamed } from '@glimmer/runtime';
import { createUpdatableTag, UpdatableTag } from '@glimmer/validator';
import { SimpleElement } from '@simple-dom/interface';
import { buildUntouchableThis } from '@glimmer/util';
import { reifyNamed } from '../vm/arguments';

const untouchableContext = buildUntouchableThis('`on` modifier');

Expand Down

0 comments on commit f33878f

Please sign in to comment.