Skip to content

Commit

Permalink
chore(compartment-mapper): update type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed May 30, 2024
1 parent cd230cf commit c756eba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
13 changes: 7 additions & 6 deletions packages/compartment-mapper/src/node-modules.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions packages/compartment-mapper/src/policy-format.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit c756eba

Please sign in to comment.