Skip to content

Commit b4c5028

Browse files
authored
Merge pull request #20311 from wagenet/move-type-utils
Move @ember/-internals/utils/types to @ember/-internals/utility-types
2 parents 7bf5849 + f4728d5 commit b4c5028

File tree

15 files changed

+14
-14
lines changed

15 files changed

+14
-14
lines changed

packages/@ember/-internals/glimmer/lib/helpers/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@module ember
33
*/
44
import { get } from '@ember/-internals/metal';
5-
import type { AnyFn } from '@ember/-internals/utils/types';
5+
import type { AnyFn } from '@ember/-internals/utility-types';
66
import { assert } from '@ember/debug';
77
import { flaggedInstrument } from '@ember/instrumentation';
88
import { join } from '@ember/runloop';

packages/@ember/-internals/metal/lib/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import type { Meta } from '@ember/-internals/meta';
55
import { meta as metaFor, peekMeta } from '@ember/-internals/meta';
66
import { setListeners } from '@ember/-internals/utils';
7-
import type { AnyFn } from '@ember/-internals/utils/types';
7+
import type { AnyFn } from '@ember/-internals/utility-types';
88
import { assert } from '@ember/debug';
99

1010
/*

packages/@ember/-internals/runtime/lib/mixins/registry_proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import type { Registry } from '@ember/-internals/container';
66
import type { RegistryProxy } from '@ember/-internals/owner';
7-
import type { AnyFn } from '@ember/-internals/utils/types';
7+
import type { AnyFn } from '@ember/-internals/utility-types';
88

99
import { assert } from '@ember/debug';
1010
import Mixin from '@ember/object/mixin';
File renamed without changes.

packages/@ember/array/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import MutableEnumerable from '@ember/enumerable/mutable';
1919
import { compare, typeOf } from '@ember/utils';
2020
import { ENV } from '@ember/-internals/environment';
2121
import Observable from '@ember/object/observable';
22-
import type { MethodNamesOf, MethodParams, MethodReturns } from '@ember/-internals/utils/types';
22+
import type { MethodNamesOf, MethodParams, MethodReturns } from '@ember/-internals/utility-types';
2323
import type { ComputedPropertyCallback } from '@ember/-internals/metal';
2424
import { isEmberArray, setEmberArray } from '@ember/array/-internals';
2525

packages/@ember/debug/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { isChrome, isFirefox } from '@ember/-internals/browser-environment';
2-
import type { AnyFn } from '@ember/-internals/utils/types';
2+
import type { AnyFn } from '@ember/-internals/utility-types';
33
import { DEBUG } from '@glimmer/env';
44
import type { DeprecateFunc, DeprecationOptions } from './lib/deprecate';
55
import _deprecate from './lib/deprecate';

packages/@ember/object/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from '@ember/-internals/metal';
99
import { getFactoryFor } from '@ember/-internals/container';
1010
import { setObservers } from '@ember/-internals/utils';
11-
import type { AnyFn } from '@ember/-internals/utils/types';
11+
import type { AnyFn } from '@ember/-internals/utility-types';
1212
import CoreObject from '@ember/object/core';
1313
import Observable from '@ember/object/observable';
1414

packages/@ember/object/promise-proxy-mixin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { get, setProperties, computed } from '@ember/object';
22
import Mixin from '@ember/object/mixin';
3-
import type { AnyFn, MethodNamesOf } from '@ember/-internals/utils/types';
3+
import type { AnyFn, MethodNamesOf } from '@ember/-internals/utility-types';
44
import type RSVP from 'rsvp';
55
import type CoreObject from '@ember/object/core';
66

packages/@ember/routing/auto-location.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { history, location, userAgent, window } from '@ember/-internals/browser-environment';
22
import { getOwner } from '@ember/-internals/owner';
33
import EmberObject, { set } from '@ember/object';
4-
import type { AnyFn, MethodNamesOf } from '@ember/-internals/utils/types';
4+
import type { AnyFn, MethodNamesOf } from '@ember/-internals/utility-types';
55
import { assert } from '@ember/debug';
66
import type { ILocation as EmberLocation, UpdateCallback } from '@ember/routing/location';
77
import {

packages/@ember/routing/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { A as emberA } from '@ember/array';
1414
import { ActionHandler } from '@ember/-internals/runtime';
1515
import { isEmpty, typeOf } from '@ember/utils';
1616
import { isProxy, lookupDescriptor } from '@ember/-internals/utils';
17-
import type { AnyFn } from '@ember/-internals/utils/types';
17+
import type { AnyFn } from '@ember/-internals/utility-types';
1818
import Controller from '@ember/controller';
1919
import type { ControllerQueryParamType } from '@ember/controller';
2020
import { assert, info, isTesting } from '@ember/debug';

0 commit comments

Comments
 (0)