From c756ebaf1f25867701e3306b0091e2b146f28a2c Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Thu, 30 May 2024 16:18:32 -0700 Subject: [PATCH] chore(compartment-mapper): update type imports --- packages/compartment-mapper/src/node-modules.js | 13 +++++++------ packages/compartment-mapper/src/policy-format.js | 5 ++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/compartment-mapper/src/node-modules.js b/packages/compartment-mapper/src/node-modules.js index 072e5cfee3..4520518334 100644 --- a/packages/compartment-mapper/src/node-modules.js +++ b/packages/compartment-mapper/src/node-modules.js @@ -1,16 +1,17 @@ // @ts-check /* eslint no-shadow: 0 */ -/** @import {Language, SomePackagePolicy} from './types.js' */ -/** @import {ReadFn} from './types.js' */ -/** @import {MaybeReadFn} from './types.js' */ /** @import {CanonicalFn} from './types.js' */ +/** @import {CompartmentDescriptor} from './types.js' */ /** @import {CompartmentMapDescriptor} from './types.js' */ +/** @import {Language} from './types.js' */ +/** @import {MaybeReadFn} from './types.js' */ +/** @import {MaybeReadPowers} from './types.js' */ /** @import {ModuleDescriptor} from './types.js' */ -/** @import {ScopeDescriptor} from './types.js' */ -/** @import {CompartmentDescriptor} from './types.js' */ +/** @import {ReadFn} from './types.js' */ /** @import {ReadPowers} from './types.js' */ -/** @import {MaybeReadPowers} from './types.js' */ +/** @import {ScopeDescriptor} from './types.js' */ +/** @import {SomePackagePolicy} from './types.js' */ /** * The graph is an intermediate object model that the functions of this module diff --git a/packages/compartment-mapper/src/policy-format.js b/packages/compartment-mapper/src/policy-format.js index 64060b3029..346c889ef8 100644 --- a/packages/compartment-mapper/src/policy-format.js +++ b/packages/compartment-mapper/src/policy-format.js @@ -1,8 +1,7 @@ // @ts-check -/** - * @import {SomePackagePolicy, SomePolicy} from './types.js' - */ +/** @import {SomePackagePolicy} from './types.js' */ +/** @import {SomePolicy} from './types.js' */ const { entries, keys } = Object; const { isArray } = Array;