Skip to content

Commit 0d72d14

Browse files
committed
Merge remote-tracking branch 'origin/stable' into merge-stable
# Conflicts: # package.json # pnpm-lock.yaml
2 parents c483aae + 9ab3ad9 commit 0d72d14

File tree

3 files changed

+2542
-3034
lines changed

3 files changed

+2542
-3034
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"jest": "^29.2.1",
5454
"prettier": "^2.3.1",
5555
"release-plan": "^0.9.0",
56-
"typescript": "^5.4.5"
56+
"typescript": "^5.5.2"
5757
},
5858
"publishConfig": {
5959
"registry": "https://registry.npmjs.org"

packages/shared-internals/src/rewritten-package-cache.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import PackageCache from './package-cache';
2+
import type { V2AddonPackage, V2AppPackage, V2Package } from './package';
23
import Package from './package';
34
import { existsSync, readJSONSync, realpathSync } from 'fs-extra';
45
import { resolve } from 'path';
@@ -240,15 +241,15 @@ class WrappedPackage implements PackageTheGoodParts {
240241
return this.plainPkg.isLazyEngine();
241242
}
242243

243-
isV2Ember() {
244+
isV2Ember(): this is V2Package {
244245
return this.plainPkg.isV2Ember();
245246
}
246247

247-
isV2App() {
248+
isV2App(): this is V2AppPackage {
248249
return this.plainPkg.isV2App();
249250
}
250251

251-
isV2Addon() {
252+
isV2Addon(): this is V2AddonPackage {
252253
return this.plainPkg.isV2Addon();
253254
}
254255

0 commit comments

Comments
 (0)